let
| No | string
| ""
| Specify the input placeholder text |
| pattern | let
| No | string
| "\\d{1,2}\\/\\d{1,2}\\/\\d{4}"
| Specify the Regular Expression for the input value |
| disabled | let
| No | boolean
| false
| Set to `true` to disable the input |
+| helperText | let
| No | string
| ""
| Specify the helper text |
| iconDescription | let
| No | string
| ""
| Specify the ARIA label for the calendar icon |
| id | let
| No | string
| "ccs-" + Math.random().toString(36)
| Set an id for the input element |
| labelText | let
| No | string
| ""
| Specify the label text |
diff --git a/css/all.scss b/css/all.scss
index ecbbd37f..6679fa7a 100644
--- a/css/all.scss
+++ b/css/all.scss
@@ -76,8 +76,5 @@ $css--plex: true;
@import "carbon-components/scss/globals/scss/_css--body";
@import "carbon-components/scss/globals/grid/grid";
-// Import experimental TreeView styles not included in global styles
-@import "carbon-components/src/components/treeview/treeview";
-
// Import all component styles
@import "carbon-components/scss/globals/scss/styles";
diff --git a/css/g10.scss b/css/g10.scss
index e77b2144..e97cdb84 100644
--- a/css/g10.scss
+++ b/css/g10.scss
@@ -27,9 +27,6 @@ $carbon--theme: $carbon--theme--g10;
@import "carbon-components/scss/globals/scss/_css--body";
@import "carbon-components/scss/globals/grid/grid";
-// Import experimental TreeView styles not included in global styles
-@import "carbon-components/src/components/treeview/treeview";
-
// Import all component styles
@import "carbon-components/scss/globals/scss/styles";
diff --git a/css/g100.scss b/css/g100.scss
index b30327a8..6828061d 100644
--- a/css/g100.scss
+++ b/css/g100.scss
@@ -27,8 +27,5 @@ $carbon--theme: $carbon--theme--g100;
@import "carbon-components/scss/globals/scss/_css--body";
@import "carbon-components/scss/globals/grid/grid";
-// Import experimental TreeView styles not included in global styles
-@import "carbon-components/src/components/treeview/treeview";
-
// Import all component styles
@import "carbon-components/scss/globals/scss/styles";
\ No newline at end of file
diff --git a/css/g80.scss b/css/g80.scss
index c0df672a..9f5475c9 100644
--- a/css/g80.scss
+++ b/css/g80.scss
@@ -27,9 +27,6 @@ $carbon--theme: $carbon--theme--g80;
@import "carbon-components/scss/globals/scss/_css--body";
@import "carbon-components/scss/globals/grid/grid";
-// Import experimental TreeView styles not included in global styles
-@import "carbon-components/src/components/treeview/treeview";
-
// Import all component styles
@import "carbon-components/scss/globals/scss/styles";
diff --git a/css/g90.scss b/css/g90.scss
index d219f985..abf54fa0 100644
--- a/css/g90.scss
+++ b/css/g90.scss
@@ -27,8 +27,5 @@ $carbon--theme: $carbon--theme--g90;
@import "carbon-components/scss/globals/scss/_css--body";
@import "carbon-components/scss/globals/grid/grid";
-// Import experimental TreeView styles not included in global styles
-@import "carbon-components/src/components/treeview/treeview";
-
// Import all component styles
@import "carbon-components/scss/globals/scss/styles";
\ No newline at end of file
diff --git a/css/white.scss b/css/white.scss
index 409b423f..9b4bd827 100644
--- a/css/white.scss
+++ b/css/white.scss
@@ -27,8 +27,5 @@ $carbon--theme: $carbon--theme--white;
@import "carbon-components/scss/globals/scss/_css--body";
@import "carbon-components/scss/globals/grid/grid";
-// Import experimental TreeView styles not included in global styles
-@import "carbon-components/src/components/treeview/treeview";
-
// Import all component styles
@import "carbon-components/scss/globals/scss/styles";
\ No newline at end of file
diff --git a/docs/package.json b/docs/package.json
index 9da2aeb7..26b6fa5c 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -11,7 +11,7 @@
"devDependencies": {
"@sveltech/routify": "^1.9.9",
"autoprefixer": "^10.2.3",
- "carbon-components": "10.39.0",
+ "carbon-components": "10.40.0",
"carbon-components-svelte": "../",
"clipboard-copy": "^4.0.1",
"mdsvex": "^0.8.8",
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 2d4834cb..e2bd1683 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -2734,6 +2734,17 @@
"constant": false,
"reactive": false
},
+ {
+ "name": "helperText",
+ "kind": "let",
+ "description": "Specify the helper text",
+ "type": "string",
+ "value": "\"\"",
+ "isFunction": false,
+ "isFunctionDeclaration": false,
+ "constant": false,
+ "reactive": false
+ },
{
"name": "iconDescription",
"kind": "let",
diff --git a/docs/src/pages/components/DatePicker.svx b/docs/src/pages/components/DatePicker.svx
index 6ea1ea8c..a6cae4af 100644
--- a/docs/src/pages/components/DatePicker.svx
+++ b/docs/src/pages/components/DatePicker.svx
@@ -13,6 +13,12 @@ components: ["DatePicker", "DatePickerInput", "DatePickerSkeleton"]
An alternative to loading styles is to link an external
- StyleSheet from a Content Delivery Networks (CDN) like
+ StyleSheet from a Content Delivery Network (CDN) like
The most performant method to load styles is to import SCSS
- directly from
- Refer to the carbon-components
. Although it
- requires more set up, you can reduce the size of the bundle CSS
- by importing individual component styles instead of a
- pre-compiled CSS StyleSheet.
+ directly from
+ carbon-components
. Although it requires more set
+ up, you can reduce the size of the bundle CSS by importing
+ individual component styles instead of a pre-compiled CSS
+ StyleSheet.