@ongov/ontario-design-system-component-library 8.0.0-alpha.1 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ongov/ontario-design-system-component-library",
|
|
3
|
-
"version": "8.0.0
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Ontario Design System Component Library",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"test:unit": "stencil test --spec"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@ongov/ontario-design-system-design-tokens": "8.0.0
|
|
80
|
-
"@ongov/ontario-design-system-global-styles": "8.0.0
|
|
79
|
+
"@ongov/ontario-design-system-design-tokens": "8.0.0",
|
|
80
|
+
"@ongov/ontario-design-system-global-styles": "8.0.0",
|
|
81
81
|
"@stencil/core": "^4.33.1",
|
|
82
82
|
"dotenv": "^16.4.5",
|
|
83
83
|
"uuid": "^11.0.5"
|
|
@@ -144,5 +144,5 @@
|
|
|
144
144
|
"collection:main": "dist/collection/index.js",
|
|
145
145
|
"es2015": "dist/esm/index.mjs",
|
|
146
146
|
"es2017": "dist/esm/index.mjs",
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "a90d8ec12148b643d75ce5052843d01b23429c5e"
|
|
148
148
|
}
|
|
@@ -838,7 +838,7 @@ Note: `href` is optional for printerLink
|
|
|
838
838
|
|
|
839
839
|
### twoColumnOptions
|
|
840
840
|
|
|
841
|
-
The columns in the twoColumn type (i.e., `column1` and `column2`) and in the threeColumn type (i.e., `column1`, `column2`, and `column3`) share the same structure (i.e [FooterColumnData](#
|
|
841
|
+
The columns in the twoColumn type (i.e., `column1` and `column2`) and in the threeColumn type (i.e., `column1`, `column2`, and `column3`) share the same structure (i.e [FooterColumnData](#footercolumndata)) and can be configured according to website requirments.
|
|
842
842
|
|
|
843
843
|
<!-- prettier-ignore -->
|
|
844
844
|
```html
|
|
@@ -879,8 +879,8 @@ two-column-options='{
|
|
|
879
879
|
|
|
880
880
|
| **Property name** | **Type** | **Description** |
|
|
881
881
|
| ----------------- | --------------------------------------- | ---------------------------------------------------------- |
|
|
882
|
-
| `column1` | `[FooterColumnData](#
|
|
883
|
-
| `column2` | `[FooterColumnData](#
|
|
882
|
+
| `column1` | `[FooterColumnData](#footercolumndata)` | Title, body, links or button for the first footer column. |
|
|
883
|
+
| `column2` | `[FooterColumnData](#footercolumndata)` | Title, body, links or button for the second footer column. |
|
|
884
884
|
|
|
885
885
|
### threeColumnOptions
|
|
886
886
|
|
|
@@ -923,11 +923,11 @@ two-column-options='{
|
|
|
923
923
|
|
|
924
924
|
#### threeColumn object
|
|
925
925
|
|
|
926
|
-
| **Property name** | **Type**
|
|
927
|
-
| ----------------- |
|
|
928
|
-
| `column1` | `[FooterColumnData](
|
|
929
|
-
| `column2` | `[FooterColumnData](
|
|
930
|
-
| `column3` | `[FooterColumnData](
|
|
926
|
+
| **Property name** | **Type** | **Description** |
|
|
927
|
+
| ----------------- | --------------------------------------- | ---------------------------------------------------------- |
|
|
928
|
+
| `column1` | `[FooterColumnData](#footercolumndata)` | Title, body, links or button for the first footer column. |
|
|
929
|
+
| `column2` | `[FooterColumnData](#footercolumndata)` | Title, body, links or button for the second footer column. |
|
|
930
|
+
| `column3` | `[FooterColumnData](#footercolumndata)` | Title, body, links or button for the third footer column. |
|
|
931
931
|
|
|
932
932
|
## Interfaces
|
|
933
933
|
|
|
@@ -12,7 +12,7 @@ Please refer to the [Ontario Design System](https://designsystem.ontario.ca/comp
|
|
|
12
12
|
|
|
13
13
|
## Configuration
|
|
14
14
|
|
|
15
|
-
Once the component package has been installed (see Ontario Design System Component Library for installation instructions), the search box component can be added directly into the project's code, and can be customized by updating the properties outlined [here](#properties). Additional information on custom types for header properties are outlined [here](#custom-property-types). Please see the [
|
|
15
|
+
Once the component package has been installed (see Ontario Design System Component Library for installation instructions), the search box component can be added directly into the project's code, and can be customized by updating the properties outlined [here](#properties). Additional information on custom types for header properties are outlined [here](#custom-property-types). Please see the [example](#example) below for how to configure the component.
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@ Please refer to the [Ontario Design System](https://designsystem.ontario.ca/comp
|
|
|
12
12
|
|
|
13
13
|
## Configuration
|
|
14
14
|
|
|
15
|
-
Once the component package has been installed (see Ontario Design System Component Library for installation instructions), the task component can be added directly into the project's code, and can be customized by updating the properties outlined [here](#properties).
|
|
15
|
+
Once the component package has been installed (see Ontario Design System Component Library for installation instructions), the task component can be added directly into the project's code, and can be customized by updating the properties outlined [here](#properties). Please see the [examples](#examples) below for how to configure the component.
|
|
16
16
|
|
|
17
17
|
## Examples
|
|
18
18
|
|