@govtechsg/sgds-web-component 2.0.0-rc.0 → 2.0.0-rc.2
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/components/Accordion/accordion.cjs.js +1 -1
- package/components/Accordion/accordion.js +1 -1
- package/components/Accordion/index.umd.js +1 -1
- package/components/ActionCard/index.umd.js +1938 -1836
- package/components/ActionCard/index.umd.js.map +1 -1
- package/components/ActionCard/sgds-action-card.cjs.js +2 -2
- package/components/ActionCard/sgds-action-card.cjs.js.map +1 -1
- package/components/ActionCard/sgds-action-card.d.ts +1 -1
- package/components/ActionCard/sgds-action-card.js +1 -1
- package/components/ActionCard/sgds-action-card.js.map +1 -1
- package/components/Alert/index.umd.js +200 -98
- package/components/Alert/index.umd.js.map +1 -1
- package/components/Alert/sgds-alert.cjs.js +2 -2
- package/components/Alert/sgds-alert.cjs.js.map +1 -1
- package/components/Alert/sgds-alert.d.ts +1 -1
- package/components/Alert/sgds-alert.js +1 -1
- package/components/Alert/sgds-alert.js.map +1 -1
- package/components/ComboBox/index.umd.js +229 -127
- package/components/ComboBox/index.umd.js.map +1 -1
- package/components/ComboBox/sgds-combo-box.cjs.js +2 -2
- package/components/ComboBox/sgds-combo-box.cjs.js.map +1 -1
- package/components/ComboBox/sgds-combo-box.d.ts +1 -1
- package/components/ComboBox/sgds-combo-box.js +1 -1
- package/components/ComboBox/sgds-combo-box.js.map +1 -1
- package/components/Datepicker/index.umd.js +7836 -7734
- package/components/Datepicker/index.umd.js.map +1 -1
- package/components/Datepicker/sgds-datepicker.cjs.js +2 -2
- package/components/Datepicker/sgds-datepicker.cjs.js.map +1 -1
- package/components/Datepicker/sgds-datepicker.d.ts +1 -1
- package/components/Datepicker/sgds-datepicker.js +1 -1
- package/components/Datepicker/sgds-datepicker.js.map +1 -1
- package/components/Drawer/index.umd.js +200 -98
- package/components/Drawer/index.umd.js.map +1 -1
- package/components/Drawer/sgds-drawer.cjs.js +2 -2
- package/components/Drawer/sgds-drawer.cjs.js.map +1 -1
- package/components/Drawer/sgds-drawer.d.ts +1 -1
- package/components/Drawer/sgds-drawer.js +1 -1
- package/components/Drawer/sgds-drawer.js.map +1 -1
- package/components/Dropdown/index.umd.js +229 -127
- package/components/Dropdown/index.umd.js.map +1 -1
- package/components/Dropdown/sgds-dropdown.cjs.js +2 -2
- package/components/Dropdown/sgds-dropdown.cjs.js.map +1 -1
- package/components/Dropdown/sgds-dropdown.d.ts +1 -1
- package/components/Dropdown/sgds-dropdown.js +1 -1
- package/components/Dropdown/sgds-dropdown.js.map +1 -1
- package/components/FileUpload/index.umd.js +229 -127
- package/components/FileUpload/index.umd.js.map +1 -1
- package/components/FileUpload/sgds-file-upload.cjs.js +2 -2
- package/components/FileUpload/sgds-file-upload.cjs.js.map +1 -1
- package/components/FileUpload/sgds-file-upload.d.ts +1 -1
- package/components/FileUpload/sgds-file-upload.js +1 -1
- package/components/FileUpload/sgds-file-upload.js.map +1 -1
- package/components/Modal/index.umd.js +200 -98
- package/components/Modal/index.umd.js.map +1 -1
- package/components/Modal/sgds-modal.cjs.js +2 -2
- package/components/Modal/sgds-modal.cjs.js.map +1 -1
- package/components/Modal/sgds-modal.d.ts +1 -1
- package/components/Modal/sgds-modal.js +1 -1
- package/components/Modal/sgds-modal.js.map +1 -1
- package/components/Progress/index.umd.js +2 -20
- package/components/Progress/index.umd.js.map +1 -1
- package/components/Progress/progress-bar.cjs.js +1 -3
- package/components/Progress/progress-bar.cjs.js.map +1 -1
- package/components/Progress/progress-bar.js +1 -3
- package/components/Progress/progress-bar.js.map +1 -1
- package/components/Progress/sgds-progress-bar.cjs.js +1 -17
- package/components/Progress/sgds-progress-bar.cjs.js.map +1 -1
- package/components/Progress/sgds-progress-bar.d.ts +0 -8
- package/components/Progress/sgds-progress-bar.js +1 -17
- package/components/Progress/sgds-progress-bar.js.map +1 -1
- package/components/QuantityToggle/index.umd.js +200 -98
- package/components/QuantityToggle/index.umd.js.map +1 -1
- package/components/QuantityToggle/sgds-quantity-toggle.cjs.js +2 -2
- package/components/QuantityToggle/sgds-quantity-toggle.cjs.js.map +1 -1
- package/components/QuantityToggle/sgds-quantity-toggle.d.ts +1 -1
- package/components/QuantityToggle/sgds-quantity-toggle.js +1 -1
- package/components/QuantityToggle/sgds-quantity-toggle.js.map +1 -1
- package/components/Textarea/index.umd.js +1 -1
- package/components/Textarea/textarea.cjs.js +1 -1
- package/components/Textarea/textarea.js +1 -1
- package/components/Toast/index.umd.js +1938 -1836
- package/components/Toast/index.umd.js.map +1 -1
- package/components/Toast/sgds-toast.cjs.js +2 -2
- package/components/Toast/sgds-toast.cjs.js.map +1 -1
- package/components/Toast/sgds-toast.d.ts +1 -1
- package/components/Toast/sgds-toast.js +1 -1
- package/components/Toast/sgds-toast.js.map +1 -1
- package/components/index.umd.js +204 -120
- package/components/index.umd.js.map +1 -1
- package/index.umd.js +204 -120
- package/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/themes/day.css +1 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govtechsg/sgds-web-component",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./index.umd.js",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@govtechsg/sgds": "^2.3.2",
|
|
26
26
|
"@lit-labs/react": "^1.0.9",
|
|
27
|
-
"@open-wc/scoped-elements": "
|
|
27
|
+
"@open-wc/scoped-elements": "2.2.0",
|
|
28
28
|
"@storybook/addon-a11y": "^8.2.8",
|
|
29
29
|
"bootstrap": "^5.1.3",
|
|
30
30
|
"date-fns": "^3.3.1",
|
package/themes/day.css
CHANGED
|
@@ -130,9 +130,6 @@
|
|
|
130
130
|
--sgds-border-radius-xl: 1rem;
|
|
131
131
|
--sgds-border-radius-pill: 50rem;
|
|
132
132
|
--sgds-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
|
133
|
-
--sgds-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
|
|
134
|
-
--sgds-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
|
|
135
|
-
--sgds-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
|
|
136
133
|
--sgds-focus-box-shadow: 0px 0px 0px var(--sgds-focus-width) var(--sgds-info-300);
|
|
137
134
|
--sgds-focus-width: 0.13rem;
|
|
138
135
|
--sgds-disabled-color: var(--sgds-gray-400);
|
|
@@ -145,26 +142,21 @@
|
|
|
145
142
|
--sgds-link-hover-color: var(--sgds-info-700);
|
|
146
143
|
|
|
147
144
|
/* Form */
|
|
148
|
-
--sgds-form-valid-color: var(--sgds-success);
|
|
149
145
|
--sgds-form-invalid-color: var(--sgds-danger);
|
|
150
|
-
--sgds-form-valid-icon: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23006b00'%3E%3Cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z'/%3E%3C/svg%3E");
|
|
151
|
-
--sgds-form-invalid-icon: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b90000'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3E%3C/svg%3E");
|
|
152
146
|
--sgds-form-feedback-font-size: 0.875rem;
|
|
153
147
|
--sgds-form-border-color: var(--sgds-border-color);
|
|
154
148
|
--sgds-form-label-font-weight: 700;
|
|
155
149
|
--sgds-form-label-color: var(--sgds-body-color);
|
|
156
150
|
--sgds-form-hint-text-color: var(--sgds-gray-500);
|
|
157
151
|
--sgds-form-hint-text-font-weight: var(--sgds-body-font-weight);
|
|
158
|
-
--sgds-form-hint-text-font-size: var(--sgds-body-font-size);
|
|
159
152
|
--sgds-form-focus-box-shadow: 0px 0px 0px var(--sgds-focus-width) var(--sgds-info-300);
|
|
160
153
|
--sgds-form-focus-invalid-box-shadow: 0px 0px 0px var(--sgds-focus-width) var(--sgds-danger-300);
|
|
161
|
-
--sgds-form-focus-valid-box-shadow: 0px 0px 0px var(--sgds-focus-width) var(--sgds-success-300);
|
|
162
154
|
--sgds-form-bg: var(--sgds-body-bg);
|
|
163
155
|
--sgds-form-border-width: 1px;
|
|
164
156
|
--sgds-form-inline-margin-right: var(--sgds-spacer-4);
|
|
165
157
|
--sgds-form-input-margin-right: var(--sgds-spacer-2);
|
|
166
158
|
/* Input, Button */
|
|
167
|
-
--sgds-input-btn-padding-x:
|
|
159
|
+
--sgds-input-btn-padding-x: var(--sgds-spacer-3);
|
|
168
160
|
--sgds-input-btn-padding-y: 0.4375rem;
|
|
169
161
|
/* Spacers */
|
|
170
162
|
--sgds-spacer-0: 0rem;
|