@tangible/ui 0.0.20 → 0.1.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/components/Accordion/Accordion.js +1 -1
- package/components/Button/Button.js +6 -8
- package/components/Button/types.d.ts +0 -5
- package/components/Combobox/Combobox.js +2 -2
- package/components/DatePicker/Calendar.d.ts +12 -0
- package/components/DatePicker/Calendar.js +145 -0
- package/components/DatePicker/DatePicker.d.ts +23 -0
- package/components/DatePicker/DatePicker.js +123 -0
- package/components/DatePicker/DateRangePicker.d.ts +16 -0
- package/components/DatePicker/DateRangePicker.js +114 -0
- package/components/DatePicker/date-utils.d.ts +51 -0
- package/components/DatePicker/date-utils.js +228 -0
- package/components/DatePicker/index.d.ts +8 -0
- package/components/DatePicker/index.js +6 -0
- package/components/DatePicker/presets.d.ts +3 -0
- package/components/DatePicker/presets.js +37 -0
- package/components/DatePicker/types.d.ts +138 -0
- package/components/DatePicker/types.js +39 -0
- package/components/MultiSelect/MultiSelect.js +1 -1
- package/components/Notice/Notice.d.ts +2 -2
- package/components/Popover/Popover.js +16 -2
- package/components/SegmentedControl/types.d.ts +2 -2
- package/components/Select/Select.js +2 -2
- package/components/Tabs/Tabs.js +1 -1
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/icons/icons.svg +6 -2
- package/icons/lms/index.js +1 -1
- package/icons/manifest.json +32 -0
- package/icons/registry.d.ts +8 -0
- package/icons/registry.js +4 -0
- package/icons/system/index.d.ts +8 -0
- package/icons/system/index.js +45 -1
- package/package.json +5 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +429 -64
- package/styles/all.expanded.unlayered.css +429 -64
- package/styles/all.unlayered.css +1 -1
- package/styles/components/_bundle.scss +2 -0
- package/styles/components/accordion.scss +4 -1
- package/styles/components/button.scss +23 -10
- package/styles/components/card.scss +1 -1
- package/styles/components/chip.scss +36 -11
- package/styles/components/combobox.scss +3 -1
- package/styles/components/date-picker.scss +400 -0
- package/styles/components/icon-button.scss +4 -4
- package/styles/components/icon.scss +14 -3
- package/styles/components/multi-select.scss +5 -2
- package/styles/components/notice.scss +43 -10
- package/styles/components/popover.scss +6 -0
- package/styles/components/progress.scss +22 -5
- package/styles/components/segmented-control.scss +13 -1
- package/styles/components/select.scss +11 -2
- package/styles/components/text-input.scss +5 -1
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/system/_control.scss +9 -8
- package/styles/system/_tokens.scss +3 -0
- package/tui-manifest.json +107 -13
- package/utils/portal.d.ts +0 -4
- package/utils/portal.js +38 -5
package/icons/lms/index.js
CHANGED
|
@@ -177,7 +177,7 @@ export function HelpCircleOutline(props) {
|
|
|
177
177
|
width: "1em",
|
|
178
178
|
height: "1em",
|
|
179
179
|
fill: "currentColor"
|
|
180
|
-
}, props), _c("path", {fillRule:"evenodd",d:"
|
|
180
|
+
}, props), [_c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M9 10.25C9 8.59315 10.3431 7.25 12 7.25C13.6569 7.25 15 8.59315 15 10.25C15 11.6481 14.0442 12.8221 12.75 13.1553V14H11.25V12.75C11.25 12.1791 11.7023 11.7922 12.1673 11.7408C12.9167 11.6581 13.5 11.0217 13.5 10.25C13.5 9.42157 12.8284 8.75 12 8.75C11.1716 8.75 10.5 9.42157 10.5 10.25H9ZM11.25 16.5V15H12.75V16.5H11.25Z"}), _c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z"})]);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
export function Hidden(props) {
|
package/icons/manifest.json
CHANGED
|
@@ -1175,6 +1175,22 @@
|
|
|
1175
1175
|
"viewBox": "0 0 24 24",
|
|
1176
1176
|
"sprite": true
|
|
1177
1177
|
},
|
|
1178
|
+
"system/check-circle-fill": {
|
|
1179
|
+
"id": "tui-system-check-circle-fill",
|
|
1180
|
+
"set": "system",
|
|
1181
|
+
"name": "check-circle-fill",
|
|
1182
|
+
"file": "system/check-circle-fill.svg",
|
|
1183
|
+
"viewBox": "0 0 24 24",
|
|
1184
|
+
"sprite": true
|
|
1185
|
+
},
|
|
1186
|
+
"system/check-circle-outline": {
|
|
1187
|
+
"id": "tui-system-check-circle-outline",
|
|
1188
|
+
"set": "system",
|
|
1189
|
+
"name": "check-circle-outline",
|
|
1190
|
+
"file": "system/check-circle-outline.svg",
|
|
1191
|
+
"viewBox": "0 0 24 24",
|
|
1192
|
+
"sprite": true
|
|
1193
|
+
},
|
|
1178
1194
|
"system/check-small": {
|
|
1179
1195
|
"id": "tui-system-check-small",
|
|
1180
1196
|
"set": "system",
|
|
@@ -1263,6 +1279,22 @@
|
|
|
1263
1279
|
"viewBox": "0 0 24 24",
|
|
1264
1280
|
"sprite": true
|
|
1265
1281
|
},
|
|
1282
|
+
"system/circle-fill": {
|
|
1283
|
+
"id": "tui-system-circle-fill",
|
|
1284
|
+
"set": "system",
|
|
1285
|
+
"name": "circle-fill",
|
|
1286
|
+
"file": "system/circle-fill.svg",
|
|
1287
|
+
"viewBox": "0 0 24 24",
|
|
1288
|
+
"sprite": true
|
|
1289
|
+
},
|
|
1290
|
+
"system/circle-outline": {
|
|
1291
|
+
"id": "tui-system-circle-outline",
|
|
1292
|
+
"set": "system",
|
|
1293
|
+
"name": "circle-outline",
|
|
1294
|
+
"file": "system/circle-outline.svg",
|
|
1295
|
+
"viewBox": "0 0 24 24",
|
|
1296
|
+
"sprite": true
|
|
1297
|
+
},
|
|
1266
1298
|
"system/circle-small-fill": {
|
|
1267
1299
|
"id": "tui-system-circle-small-fill",
|
|
1268
1300
|
"set": "system",
|
package/icons/registry.d.ts
CHANGED
|
@@ -150,6 +150,8 @@ export type IconName =
|
|
|
150
150
|
| 'system/bolt-outline'
|
|
151
151
|
| 'system/bolt-plus-fill'
|
|
152
152
|
| 'system/bolt-plus-outline'
|
|
153
|
+
| 'system/check-circle-fill'
|
|
154
|
+
| 'system/check-circle-outline'
|
|
153
155
|
| 'system/check-small'
|
|
154
156
|
| 'system/check'
|
|
155
157
|
| 'system/checklist'
|
|
@@ -161,6 +163,8 @@ export type IconName =
|
|
|
161
163
|
| 'system/chevron-right'
|
|
162
164
|
| 'system/chevron-up-small'
|
|
163
165
|
| 'system/chevron-up'
|
|
166
|
+
| 'system/circle-fill'
|
|
167
|
+
| 'system/circle-outline'
|
|
164
168
|
| 'system/circle-small-fill'
|
|
165
169
|
| 'system/circle-small-outline'
|
|
166
170
|
| 'system/close-circle-fill'
|
|
@@ -374,6 +378,8 @@ export declare const iconRegistry: {
|
|
|
374
378
|
'system/bolt-outline': IconComponent;
|
|
375
379
|
'system/bolt-plus-fill': IconComponent;
|
|
376
380
|
'system/bolt-plus-outline': IconComponent;
|
|
381
|
+
'system/check-circle-fill': IconComponent;
|
|
382
|
+
'system/check-circle-outline': IconComponent;
|
|
377
383
|
'system/check-small': IconComponent;
|
|
378
384
|
'system/check': IconComponent;
|
|
379
385
|
'system/checklist': IconComponent;
|
|
@@ -385,6 +391,8 @@ export declare const iconRegistry: {
|
|
|
385
391
|
'system/chevron-right': IconComponent;
|
|
386
392
|
'system/chevron-up-small': IconComponent;
|
|
387
393
|
'system/chevron-up': IconComponent;
|
|
394
|
+
'system/circle-fill': IconComponent;
|
|
395
|
+
'system/circle-outline': IconComponent;
|
|
388
396
|
'system/circle-small-fill': IconComponent;
|
|
389
397
|
'system/circle-small-outline': IconComponent;
|
|
390
398
|
'system/close-circle-fill': IconComponent;
|
package/icons/registry.js
CHANGED
|
@@ -153,6 +153,8 @@ export const iconRegistry = {
|
|
|
153
153
|
'system/bolt-outline': systemIcons['bolt-outline'],
|
|
154
154
|
'system/bolt-plus-fill': systemIcons['bolt-plus-fill'],
|
|
155
155
|
'system/bolt-plus-outline': systemIcons['bolt-plus-outline'],
|
|
156
|
+
'system/check-circle-fill': systemIcons['check-circle-fill'],
|
|
157
|
+
'system/check-circle-outline': systemIcons['check-circle-outline'],
|
|
156
158
|
'system/check-small': systemIcons['check-small'],
|
|
157
159
|
'system/check': systemIcons['check'],
|
|
158
160
|
'system/checklist': systemIcons['checklist'],
|
|
@@ -164,6 +166,8 @@ export const iconRegistry = {
|
|
|
164
166
|
'system/chevron-right': systemIcons['chevron-right'],
|
|
165
167
|
'system/chevron-up-small': systemIcons['chevron-up-small'],
|
|
166
168
|
'system/chevron-up': systemIcons['chevron-up'],
|
|
169
|
+
'system/circle-fill': systemIcons['circle-fill'],
|
|
170
|
+
'system/circle-outline': systemIcons['circle-outline'],
|
|
167
171
|
'system/circle-small-fill': systemIcons['circle-small-fill'],
|
|
168
172
|
'system/circle-small-outline': systemIcons['circle-small-outline'],
|
|
169
173
|
'system/close-circle-fill': systemIcons['close-circle-fill'],
|
package/icons/system/index.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ export declare const BoltFill: IconComponent;
|
|
|
17
17
|
export declare const BoltOutline: IconComponent;
|
|
18
18
|
export declare const BoltPlusFill: IconComponent;
|
|
19
19
|
export declare const BoltPlusOutline: IconComponent;
|
|
20
|
+
export declare const CheckCircleFill: IconComponent;
|
|
21
|
+
export declare const CheckCircleOutline: IconComponent;
|
|
20
22
|
export declare const CheckSmall: IconComponent;
|
|
21
23
|
export declare const Check: IconComponent;
|
|
22
24
|
export declare const Checklist: IconComponent;
|
|
@@ -28,6 +30,8 @@ export declare const ChevronRightSmall: IconComponent;
|
|
|
28
30
|
export declare const ChevronRight: IconComponent;
|
|
29
31
|
export declare const ChevronUpSmall: IconComponent;
|
|
30
32
|
export declare const ChevronUp: IconComponent;
|
|
33
|
+
export declare const CircleFill: IconComponent;
|
|
34
|
+
export declare const CircleOutline: IconComponent;
|
|
31
35
|
export declare const CircleSmallFill: IconComponent;
|
|
32
36
|
export declare const CircleSmallOutline: IconComponent;
|
|
33
37
|
export declare const CloseCircleFill: IconComponent;
|
|
@@ -109,6 +113,8 @@ export declare const systemIcons: {
|
|
|
109
113
|
'bolt-outline': IconComponent;
|
|
110
114
|
'bolt-plus-fill': IconComponent;
|
|
111
115
|
'bolt-plus-outline': IconComponent;
|
|
116
|
+
'check-circle-fill': IconComponent;
|
|
117
|
+
'check-circle-outline': IconComponent;
|
|
112
118
|
'check-small': IconComponent;
|
|
113
119
|
'check': IconComponent;
|
|
114
120
|
'checklist': IconComponent;
|
|
@@ -120,6 +126,8 @@ export declare const systemIcons: {
|
|
|
120
126
|
'chevron-right': IconComponent;
|
|
121
127
|
'chevron-up-small': IconComponent;
|
|
122
128
|
'chevron-up': IconComponent;
|
|
129
|
+
'circle-fill': IconComponent;
|
|
130
|
+
'circle-outline': IconComponent;
|
|
123
131
|
'circle-small-fill': IconComponent;
|
|
124
132
|
'circle-small-outline': IconComponent;
|
|
125
133
|
'close-circle-fill': IconComponent;
|
package/icons/system/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export function AlertCircleOutline(props) {
|
|
|
17
17
|
width: "1em",
|
|
18
18
|
height: "1em",
|
|
19
19
|
fill: "currentColor"
|
|
20
|
-
}, props), [_c("path", {fillRule:"evenodd",d:"M12 4.
|
|
20
|
+
}, props), [_c("path", {d:"M13 17H11V15H13V17Z"}), _c("path", {d:"M13 13H11V7H13V13Z"}), _c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5Z"})]);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export function ArrowClockwise(props) {
|
|
@@ -150,6 +150,26 @@ export function BoltPlusOutline(props) {
|
|
|
150
150
|
}, props), [_c("path", {fillRule:"evenodd",d:"M12.335 12.5h3.344l-.593.519q.204-.02.414-.019c.55 0 1.078.099 1.566.28l.603-.527a.95.95 0 0 0 .25-1.106.94.94 0 0 0-.91-.647h-3.487l2.405-5.606a1.002 1.002 0 0 0-1.58-1.147l-8.005 7a1 1 0 0 0-.278 1.106c.147.388.52.647.909.647h3.515l-2.405 5.606a1 1 0 0 0 1.58 1.147l1.446-1.265a4.5 4.5 0 0 1 .004-1.996l-.786.687zm-.66-1H8.33l5.35-4.678z",clipRule:"evenodd"}), _c("path", {fillRule:"evenodd",d:"M19 17.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0m-1.577.577a.577.577 0 0 0 0-1.154h-1.346v-1.346a.577.577 0 1 0-1.154 0v1.346h-1.346a.577.577 0 1 0 0 1.154h1.346v1.346a.577.577 0 1 0 1.154 0v-1.346z",clipRule:"evenodd"})]);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
export function CheckCircleFill(props) {
|
|
154
|
+
return _c("svg", Object.assign({
|
|
155
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
156
|
+
viewBox: "0 0 24 24",
|
|
157
|
+
width: "1em",
|
|
158
|
+
height: "1em",
|
|
159
|
+
fill: "currentColor"
|
|
160
|
+
}, props), _c("path", {d:"M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM10.9346 13.7754L8.67285 11.5039L7.69727 12.4746L10.9307 15.7217L16.6758 10.002L15.7041 9.02637L10.9346 13.7754Z"}));
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function CheckCircleOutline(props) {
|
|
164
|
+
return _c("svg", Object.assign({
|
|
165
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
166
|
+
viewBox: "0 0 24 24",
|
|
167
|
+
width: "1em",
|
|
168
|
+
height: "1em",
|
|
169
|
+
fill: "currentColor"
|
|
170
|
+
}, props), [_c("path", {d:"M16.6758 10.002L10.9307 15.7217L7.69727 12.4746L8.67285 11.5039L10.9346 13.7754L15.7041 9.02637L16.6758 10.002Z"}), _c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5Z"})]);
|
|
171
|
+
}
|
|
172
|
+
|
|
153
173
|
export function CheckSmall(props) {
|
|
154
174
|
return _c("svg", Object.assign({
|
|
155
175
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -260,6 +280,26 @@ export function ChevronUp(props) {
|
|
|
260
280
|
}, props), _c("path", {fillRule:"evenodd",d:"M5.996 13.445 12 7.986l6.005 5.459-1.01 1.11L12 10.014l-4.995 4.54z",clipRule:"evenodd"}));
|
|
261
281
|
}
|
|
262
282
|
|
|
283
|
+
export function CircleFill(props) {
|
|
284
|
+
return _c("svg", Object.assign({
|
|
285
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
286
|
+
viewBox: "0 0 24 24",
|
|
287
|
+
width: "1em",
|
|
288
|
+
height: "1em",
|
|
289
|
+
fill: "currentColor"
|
|
290
|
+
}, props), _c("path", {d:"M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16"}));
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export function CircleOutline(props) {
|
|
294
|
+
return _c("svg", Object.assign({
|
|
295
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
296
|
+
viewBox: "0 0 24 24",
|
|
297
|
+
width: "1em",
|
|
298
|
+
height: "1em",
|
|
299
|
+
fill: "currentColor"
|
|
300
|
+
}, props), _c("path", {fillRule:"evenodd",d:"M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m0 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13",clipRule:"evenodd"}));
|
|
301
|
+
}
|
|
302
|
+
|
|
263
303
|
export function CircleSmallFill(props) {
|
|
264
304
|
return _c("svg", Object.assign({
|
|
265
305
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -916,6 +956,8 @@ export const systemIcons = {
|
|
|
916
956
|
'bolt-outline': BoltOutline,
|
|
917
957
|
'bolt-plus-fill': BoltPlusFill,
|
|
918
958
|
'bolt-plus-outline': BoltPlusOutline,
|
|
959
|
+
'check-circle-fill': CheckCircleFill,
|
|
960
|
+
'check-circle-outline': CheckCircleOutline,
|
|
919
961
|
'check-small': CheckSmall,
|
|
920
962
|
'check': Check,
|
|
921
963
|
'checklist': Checklist,
|
|
@@ -927,6 +969,8 @@ export const systemIcons = {
|
|
|
927
969
|
'chevron-right': ChevronRight,
|
|
928
970
|
'chevron-up-small': ChevronUpSmall,
|
|
929
971
|
'chevron-up': ChevronUp,
|
|
972
|
+
'circle-fill': CircleFill,
|
|
973
|
+
'circle-outline': CircleOutline,
|
|
930
974
|
'circle-small-fill': CircleSmallFill,
|
|
931
975
|
'circle-small-outline': CircleSmallOutline,
|
|
932
976
|
'close-circle-fill': CloseCircleFill,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangible/ui",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Tangible Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./components/index.js",
|
|
@@ -88,6 +88,10 @@
|
|
|
88
88
|
"import": "./components/ContentIndicator/index.js",
|
|
89
89
|
"types": "./components/ContentIndicator/index.d.ts"
|
|
90
90
|
},
|
|
91
|
+
"./components/DatePicker": {
|
|
92
|
+
"import": "./components/DatePicker/index.js",
|
|
93
|
+
"types": "./components/DatePicker/index.d.ts"
|
|
94
|
+
},
|
|
91
95
|
"./components/Dropdown": {
|
|
92
96
|
"import": "./components/Dropdown/index.js",
|
|
93
97
|
"types": "./components/Dropdown/index.d.ts"
|