td-stylekit 28.44.1 → 29.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/CHANGELOG.md +48 -0
- package/dist/es/DataGrid/renderers.d.ts +0 -4
- package/dist/es/DataGrid/renderers.js +55 -120
- package/dist/es/DateControl/elements.d.ts +21 -21
- package/dist/es/FormField/index.d.ts +0 -2
- package/dist/es/FormField/index.js +0 -8
- package/dist/es/Icon/types.js +6 -2
- package/dist/es/TimeControl/elements.d.ts +21 -21
- package/dist/es/index.d.ts +1 -11
- package/dist/es/index.js +0 -70
- package/package.json +13 -13
- package/dist/es/CheckboxField/CheckboxField.d.ts +0 -13
- package/dist/es/CheckboxField/CheckboxField.js +0 -73
- package/dist/es/CheckboxField/index.d.ts +0 -3
- package/dist/es/CheckboxField/index.js +0 -15
- package/dist/es/DateField/DateField.d.ts +0 -74
- package/dist/es/DateField/DateField.js +0 -297
- package/dist/es/DateField/elements.d.ts +0 -11
- package/dist/es/DateField/elements.js +0 -39
- package/dist/es/DateField/index.d.ts +0 -3
- package/dist/es/DateField/index.js +0 -15
- package/dist/es/DetailPanel/DetailPanel.d.ts +0 -16
- package/dist/es/DetailPanel/DetailPanel.js +0 -62
- package/dist/es/DetailPanel/elements.d.ts +0 -35
- package/dist/es/DetailPanel/elements.js +0 -225
- package/dist/es/DetailPanel/index.d.ts +0 -3
- package/dist/es/DetailPanel/index.js +0 -15
- package/dist/es/FormField/FormField.d.ts +0 -38
- package/dist/es/FormField/FormField.js +0 -204
- package/dist/es/FormField/elements.d.ts +0 -17
- package/dist/es/FormField/elements.js +0 -75
- package/dist/es/InfiniteList/InfiniteList.d.ts +0 -29
- package/dist/es/InfiniteList/InfiniteList.js +0 -114
- package/dist/es/InfiniteList/index.d.ts +0 -2
- package/dist/es/InfiniteList/index.js +0 -15
- package/dist/es/NavigationBar/LogoItem.d.ts +0 -6
- package/dist/es/NavigationBar/LogoItem.js +0 -42
- package/dist/es/NavigationBar/NavigationBar.d.ts +0 -33
- package/dist/es/NavigationBar/NavigationBar.js +0 -99
- package/dist/es/NavigationBar/NavigationItem.d.ts +0 -33
- package/dist/es/NavigationBar/NavigationItem.js +0 -183
- package/dist/es/NavigationBar/index.d.ts +0 -2
- package/dist/es/NavigationBar/index.js +0 -15
- package/dist/es/NavigationPopover/NavigationPopover.d.ts +0 -24
- package/dist/es/NavigationPopover/NavigationPopover.js +0 -116
- package/dist/es/NavigationPopover/index.d.ts +0 -2
- package/dist/es/NavigationPopover/index.js +0 -15
- package/dist/es/Overlay/Overlay.d.ts +0 -15
- package/dist/es/Overlay/Overlay.js +0 -66
- package/dist/es/Overlay/OverlayBody.d.ts +0 -9
- package/dist/es/Overlay/OverlayBody.js +0 -32
- package/dist/es/Overlay/OverlayHeader.d.ts +0 -37
- package/dist/es/Overlay/OverlayHeader.js +0 -135
- package/dist/es/Overlay/index.d.ts +0 -4
- package/dist/es/Overlay/index.js +0 -29
- package/dist/es/StatCard/StatCard.d.ts +0 -26
- package/dist/es/StatCard/StatCard.js +0 -118
- package/dist/es/StatCard/elements.d.ts +0 -48
- package/dist/es/StatCard/elements.js +0 -156
- package/dist/es/StatCard/index.d.ts +0 -3
- package/dist/es/StatCard/index.js +0 -15
- package/dist/es/TimeField/TimeField.d.ts +0 -15
- package/dist/es/TimeField/TimeField.js +0 -42
- package/dist/es/TimeField/index.d.ts +0 -3
- package/dist/es/TimeField/index.js +0 -15
package/dist/es/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import Canvas from './Canvas';
|
|
|
8
8
|
import Card from './Card';
|
|
9
9
|
import ChartPrimitives from './ChartPrimitives';
|
|
10
10
|
import Checkbox from './Checkbox';
|
|
11
|
-
import CheckboxField from './CheckboxField';
|
|
12
11
|
import CollapsibleToggle from './CollapsibleToggle';
|
|
13
12
|
import Column from './Column';
|
|
14
13
|
import ColorPicker from './ColorPicker';
|
|
@@ -16,17 +15,14 @@ import ComparisonChart from './ComparisonChart';
|
|
|
16
15
|
import ComponentGroup from './ComponentGroup';
|
|
17
16
|
import DataGrid from './DataGrid';
|
|
18
17
|
import DateControl from './DateControl';
|
|
19
|
-
import DateField from './DateField';
|
|
20
18
|
import type { DatePickerProps } from './DatePicker';
|
|
21
19
|
import DatePicker, { DatePickerUtils } from './DatePicker';
|
|
22
|
-
import DetailPanel from './DetailPanel';
|
|
23
20
|
import DistributionChart from './DistributionChart';
|
|
24
21
|
import Drawer from './Drawer';
|
|
25
22
|
import DropdownButton from './DropdownButton';
|
|
26
23
|
import FileInput from './FileInput';
|
|
27
24
|
import FormControl from './FormControl';
|
|
28
25
|
import FormRow from './FormControl/FormRow';
|
|
29
|
-
import FormField from './FormField';
|
|
30
26
|
import FormFieldAddon from './FormFieldAddon';
|
|
31
27
|
import FormLabel from './FormLabel';
|
|
32
28
|
import FormModal from './FormModal';
|
|
@@ -39,7 +35,6 @@ import Histogram from './Histogram';
|
|
|
39
35
|
import Icon from './Icon';
|
|
40
36
|
import type { VariantStyles } from './IconBar';
|
|
41
37
|
import IconBar from './IconBar';
|
|
42
|
-
import InfiniteList from './InfiniteList';
|
|
43
38
|
import Input from './Input';
|
|
44
39
|
import LeftTruncatedText from './LeftTruncatedText';
|
|
45
40
|
import Link from './Link';
|
|
@@ -49,9 +44,6 @@ import Menu from './Menu';
|
|
|
49
44
|
import MiddleTruncatedText from './MiddleTruncatedText';
|
|
50
45
|
import Modal from './Modal';
|
|
51
46
|
import MultiSelect from './MultiSelect';
|
|
52
|
-
import NavigationBar from './NavigationBar';
|
|
53
|
-
import NavigationPopover from './NavigationPopover';
|
|
54
|
-
import Overlay from './Overlay';
|
|
55
47
|
import Paragraph from './Paragraph';
|
|
56
48
|
import Popover from './Popover';
|
|
57
49
|
import Radio from './Radio';
|
|
@@ -64,14 +56,12 @@ import Select from './Select';
|
|
|
64
56
|
import Shuttle from './Shuttle';
|
|
65
57
|
import SimpleModal from './SimpleModal';
|
|
66
58
|
import Slider from './Slider';
|
|
67
|
-
import StatCard from './StatCard';
|
|
68
59
|
import Tabs from './Tabs';
|
|
69
60
|
import Tagger from './Tagger';
|
|
70
61
|
import Text from './Text';
|
|
71
62
|
import type { Theme, AccessibilityOptions } from './ThemeProvider';
|
|
72
63
|
import ThemeProvider, { theme } from './ThemeProvider';
|
|
73
64
|
import TimeControl from './TimeControl';
|
|
74
|
-
import TimeField from './TimeField';
|
|
75
65
|
import TimePicker from './TimePicker';
|
|
76
66
|
import Toast from './Toast';
|
|
77
67
|
import Toggle from './Toggle';
|
|
@@ -101,5 +91,5 @@ export type { SelectComponentStyles };
|
|
|
101
91
|
export type { Theme, AccessibilityOptions };
|
|
102
92
|
export type { FormControlValue } from './types';
|
|
103
93
|
export { BADGE_TYPES } from './Badge';
|
|
104
|
-
export { ActionBar, Badge, BarChart, Box, Button, Canvas, Card, ChartPrimitives, Checkbox,
|
|
94
|
+
export { ActionBar, Badge, BarChart, Box, Button, Canvas, Card, ChartPrimitives, Checkbox, CollapsibleToggle, Column, ColorPicker, ComparisonChart, ComponentGroup, DataGrid, DateControl, DatePicker, DatePickerUtils, DistributionChart, Drawer, DropdownButton, FileInput, FormControl, FormFieldAddon, FormLabel, FormModal, FormRow, Google, Grid, GridItem, GrowthRateChart, Heading, Highlighter, Histogram, Icon, IconBar, Input, LeftTruncatedText, Link, Loader, Logo, Menu, MiddleTruncatedText, Modal, MultiSelect, Paragraph, Popover, Radio, RightTruncatedText, Row, SecondaryNavigation, Section, Select, Shuttle, SimpleModal, Slider, TREE_UTILS, Tabs, Tagger, Text, ThemeProvider, TimeControl, TimePicker, Toast, Toggle, TooltipPopover, Tree, TreeNodeContent, TreeNodeContentWrapper, TreeNodeIconWrapper, UserAvatar, View, VisuallyHidden, VolumeChart, theme };
|
|
105
95
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/es/index.js
CHANGED
|
@@ -70,12 +70,6 @@ Object.defineProperty(exports, "Checkbox", {
|
|
|
70
70
|
return _Checkbox["default"];
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
-
Object.defineProperty(exports, "CheckboxField", {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function get() {
|
|
76
|
-
return _CheckboxField["default"];
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
73
|
Object.defineProperty(exports, "CollapsibleToggle", {
|
|
80
74
|
enumerable: true,
|
|
81
75
|
get: function get() {
|
|
@@ -118,12 +112,6 @@ Object.defineProperty(exports, "DateControl", {
|
|
|
118
112
|
return _DateControl["default"];
|
|
119
113
|
}
|
|
120
114
|
});
|
|
121
|
-
Object.defineProperty(exports, "DateField", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
get: function get() {
|
|
124
|
-
return _DateField["default"];
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
115
|
Object.defineProperty(exports, "DatePicker", {
|
|
128
116
|
enumerable: true,
|
|
129
117
|
get: function get() {
|
|
@@ -136,12 +124,6 @@ Object.defineProperty(exports, "DatePickerUtils", {
|
|
|
136
124
|
return _DatePicker.DatePickerUtils;
|
|
137
125
|
}
|
|
138
126
|
});
|
|
139
|
-
Object.defineProperty(exports, "DetailPanel", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: function get() {
|
|
142
|
-
return _DetailPanel["default"];
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
127
|
Object.defineProperty(exports, "DistributionChart", {
|
|
146
128
|
enumerable: true,
|
|
147
129
|
get: function get() {
|
|
@@ -172,12 +154,6 @@ Object.defineProperty(exports, "FormControl", {
|
|
|
172
154
|
return _FormControl["default"];
|
|
173
155
|
}
|
|
174
156
|
});
|
|
175
|
-
Object.defineProperty(exports, "FormField", {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function get() {
|
|
178
|
-
return _FormField["default"];
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
157
|
Object.defineProperty(exports, "FormFieldAddon", {
|
|
182
158
|
enumerable: true,
|
|
183
159
|
get: function get() {
|
|
@@ -262,12 +238,6 @@ Object.defineProperty(exports, "IconBar", {
|
|
|
262
238
|
return _IconBar["default"];
|
|
263
239
|
}
|
|
264
240
|
});
|
|
265
|
-
Object.defineProperty(exports, "InfiniteList", {
|
|
266
|
-
enumerable: true,
|
|
267
|
-
get: function get() {
|
|
268
|
-
return _InfiniteList["default"];
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
241
|
Object.defineProperty(exports, "Input", {
|
|
272
242
|
enumerable: true,
|
|
273
243
|
get: function get() {
|
|
@@ -322,24 +292,6 @@ Object.defineProperty(exports, "MultiSelect", {
|
|
|
322
292
|
return _MultiSelect["default"];
|
|
323
293
|
}
|
|
324
294
|
});
|
|
325
|
-
Object.defineProperty(exports, "NavigationBar", {
|
|
326
|
-
enumerable: true,
|
|
327
|
-
get: function get() {
|
|
328
|
-
return _NavigationBar["default"];
|
|
329
|
-
}
|
|
330
|
-
});
|
|
331
|
-
Object.defineProperty(exports, "NavigationPopover", {
|
|
332
|
-
enumerable: true,
|
|
333
|
-
get: function get() {
|
|
334
|
-
return _NavigationPopover["default"];
|
|
335
|
-
}
|
|
336
|
-
});
|
|
337
|
-
Object.defineProperty(exports, "Overlay", {
|
|
338
|
-
enumerable: true,
|
|
339
|
-
get: function get() {
|
|
340
|
-
return _Overlay["default"];
|
|
341
|
-
}
|
|
342
|
-
});
|
|
343
295
|
Object.defineProperty(exports, "Paragraph", {
|
|
344
296
|
enumerable: true,
|
|
345
297
|
get: function get() {
|
|
@@ -424,12 +376,6 @@ Object.defineProperty(exports, "Slider", {
|
|
|
424
376
|
return _Slider["default"];
|
|
425
377
|
}
|
|
426
378
|
});
|
|
427
|
-
Object.defineProperty(exports, "StatCard", {
|
|
428
|
-
enumerable: true,
|
|
429
|
-
get: function get() {
|
|
430
|
-
return _StatCard["default"];
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
379
|
Object.defineProperty(exports, "TREE_UTILS", {
|
|
434
380
|
enumerable: true,
|
|
435
381
|
get: function get() {
|
|
@@ -466,12 +412,6 @@ Object.defineProperty(exports, "TimeControl", {
|
|
|
466
412
|
return _TimeControl["default"];
|
|
467
413
|
}
|
|
468
414
|
});
|
|
469
|
-
Object.defineProperty(exports, "TimeField", {
|
|
470
|
-
enumerable: true,
|
|
471
|
-
get: function get() {
|
|
472
|
-
return _TimeField["default"];
|
|
473
|
-
}
|
|
474
|
-
});
|
|
475
415
|
Object.defineProperty(exports, "TimePicker", {
|
|
476
416
|
enumerable: true,
|
|
477
417
|
get: function get() {
|
|
@@ -601,7 +541,6 @@ var _Canvas = _interopRequireDefault(require("./Canvas"));
|
|
|
601
541
|
var _Card = _interopRequireDefault(require("./Card"));
|
|
602
542
|
var _ChartPrimitives = _interopRequireDefault(require("./ChartPrimitives"));
|
|
603
543
|
var _Checkbox = _interopRequireDefault(require("./Checkbox"));
|
|
604
|
-
var _CheckboxField = _interopRequireDefault(require("./CheckboxField"));
|
|
605
544
|
var _CollapsibleToggle = _interopRequireDefault(require("./CollapsibleToggle"));
|
|
606
545
|
var _Column = _interopRequireDefault(require("./Column"));
|
|
607
546
|
var _ColorPicker = _interopRequireDefault(require("./ColorPicker"));
|
|
@@ -609,16 +548,13 @@ var _ComparisonChart = _interopRequireDefault(require("./ComparisonChart"));
|
|
|
609
548
|
var _ComponentGroup = _interopRequireDefault(require("./ComponentGroup"));
|
|
610
549
|
var _DataGrid = _interopRequireDefault(require("./DataGrid"));
|
|
611
550
|
var _DateControl = _interopRequireDefault(require("./DateControl"));
|
|
612
|
-
var _DateField = _interopRequireDefault(require("./DateField"));
|
|
613
551
|
var _DatePicker = _interopRequireWildcard(require("./DatePicker"));
|
|
614
|
-
var _DetailPanel = _interopRequireDefault(require("./DetailPanel"));
|
|
615
552
|
var _DistributionChart = _interopRequireWildcard(require("./DistributionChart"));
|
|
616
553
|
var _Drawer = _interopRequireDefault(require("./Drawer"));
|
|
617
554
|
var _DropdownButton = _interopRequireDefault(require("./DropdownButton"));
|
|
618
555
|
var _FileInput = _interopRequireDefault(require("./FileInput"));
|
|
619
556
|
var _FormControl = _interopRequireDefault(require("./FormControl"));
|
|
620
557
|
var _FormRow = _interopRequireDefault(require("./FormControl/FormRow"));
|
|
621
|
-
var _FormField = _interopRequireDefault(require("./FormField"));
|
|
622
558
|
var _FormFieldAddon = _interopRequireDefault(require("./FormFieldAddon"));
|
|
623
559
|
var _FormLabel = _interopRequireDefault(require("./FormLabel"));
|
|
624
560
|
var _FormModal = _interopRequireDefault(require("./FormModal"));
|
|
@@ -630,7 +566,6 @@ var _Highlighter = _interopRequireDefault(require("./Highlighter"));
|
|
|
630
566
|
var _Histogram = _interopRequireDefault(require("./Histogram"));
|
|
631
567
|
var _Icon = _interopRequireDefault(require("./Icon"));
|
|
632
568
|
var _IconBar = _interopRequireDefault(require("./IconBar"));
|
|
633
|
-
var _InfiniteList = _interopRequireDefault(require("./InfiniteList"));
|
|
634
569
|
var _Input = _interopRequireDefault(require("./Input"));
|
|
635
570
|
var _LeftTruncatedText = _interopRequireDefault(require("./LeftTruncatedText"));
|
|
636
571
|
var _Link = _interopRequireDefault(require("./Link"));
|
|
@@ -640,9 +575,6 @@ var _Menu = _interopRequireDefault(require("./Menu"));
|
|
|
640
575
|
var _MiddleTruncatedText = _interopRequireDefault(require("./MiddleTruncatedText"));
|
|
641
576
|
var _Modal = _interopRequireDefault(require("./Modal"));
|
|
642
577
|
var _MultiSelect = _interopRequireDefault(require("./MultiSelect"));
|
|
643
|
-
var _NavigationBar = _interopRequireDefault(require("./NavigationBar"));
|
|
644
|
-
var _NavigationPopover = _interopRequireDefault(require("./NavigationPopover"));
|
|
645
|
-
var _Overlay = _interopRequireDefault(require("./Overlay"));
|
|
646
578
|
var _Paragraph = _interopRequireDefault(require("./Paragraph"));
|
|
647
579
|
var _Popover = _interopRequireDefault(require("./Popover"));
|
|
648
580
|
var _Radio = _interopRequireDefault(require("./Radio"));
|
|
@@ -654,13 +586,11 @@ var _Select = _interopRequireWildcard(require("./Select"));
|
|
|
654
586
|
var _Shuttle = _interopRequireDefault(require("./Shuttle"));
|
|
655
587
|
var _SimpleModal = _interopRequireDefault(require("./SimpleModal"));
|
|
656
588
|
var _Slider = _interopRequireDefault(require("./Slider"));
|
|
657
|
-
var _StatCard = _interopRequireDefault(require("./StatCard"));
|
|
658
589
|
var _Tabs = _interopRequireDefault(require("./Tabs"));
|
|
659
590
|
var _Tagger = _interopRequireDefault(require("./Tagger"));
|
|
660
591
|
var _Text = _interopRequireDefault(require("./Text"));
|
|
661
592
|
var _ThemeProvider = _interopRequireWildcard(require("./ThemeProvider"));
|
|
662
593
|
var _TimeControl = _interopRequireDefault(require("./TimeControl"));
|
|
663
|
-
var _TimeField = _interopRequireDefault(require("./TimeField"));
|
|
664
594
|
var _TimePicker = _interopRequireDefault(require("./TimePicker"));
|
|
665
595
|
var _Toast = _interopRequireDefault(require("./Toast"));
|
|
666
596
|
var _Toggle = _interopRequireDefault(require("./Toggle"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "td-stylekit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "29.0.0",
|
|
4
4
|
"main": "dist/es/index.js",
|
|
5
5
|
"module": "dist/es/index.js",
|
|
6
6
|
"types": "dist/es/index.d.ts",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@reach/dialog": "^0.11.2",
|
|
50
50
|
"@reach/tabs": "^0.10.5",
|
|
51
51
|
"@tippyjs/react": "^4.2.6",
|
|
52
|
-
"@use-gesture/react": "^10.
|
|
53
|
-
"classnames": "^2.
|
|
52
|
+
"@use-gesture/react": "^10.3.1",
|
|
53
|
+
"classnames": "^2.5.1",
|
|
54
54
|
"color": "^4.2.3",
|
|
55
55
|
"date-fns": "3.6.0",
|
|
56
56
|
"framer-motion": "^6.5.1",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"parse-unit": "^1.0.1",
|
|
80
80
|
"rc-slider": "9.7.5",
|
|
81
81
|
"react-click-outside": "^3.0.1",
|
|
82
|
-
"react-colorful": "^5.
|
|
82
|
+
"react-colorful": "^5.6.1",
|
|
83
83
|
"react-day-picker": "7.3.2",
|
|
84
84
|
"react-highlight-words": "^0.20.0",
|
|
85
85
|
"react-select": "4.3.1",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"@types/react-dom": "18.0.11",
|
|
153
153
|
"@types/react-select": "^4.0.18",
|
|
154
154
|
"@types/react-sortable-tree": "^0.3.11",
|
|
155
|
-
"@types/react-virtualized": "^9.21.
|
|
155
|
+
"@types/react-virtualized": "^9.21.30",
|
|
156
156
|
"@types/semantic-release": "^17.1.0",
|
|
157
157
|
"@types/testing-library__jest-dom": "^5.0.0",
|
|
158
158
|
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"babel-plugin-autoinstrument": "2.1.3",
|
|
163
163
|
"babel-plugin-react-require": "4.0.2",
|
|
164
164
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
165
|
-
"cheerio": "^1.0.0
|
|
165
|
+
"cheerio": "^1.0.0",
|
|
166
166
|
"commander": "^12.1.0",
|
|
167
167
|
"cross-env": "^7.0.3",
|
|
168
168
|
"danger": "^12.3.3",
|
|
@@ -203,19 +203,19 @@
|
|
|
203
203
|
"puppeteer": "^22.7.1",
|
|
204
204
|
"raf": "^3.4.1",
|
|
205
205
|
"react": "18.2.0",
|
|
206
|
-
"react-annotation": "^2.2.
|
|
207
|
-
"react-docgen-typescript-loader": "^3.
|
|
206
|
+
"react-annotation": "^2.2.1",
|
|
207
|
+
"react-docgen-typescript-loader": "^3.7.2",
|
|
208
208
|
"react-dom": "18.2.0",
|
|
209
|
-
"react-syntax-highlighter": "^15.
|
|
210
|
-
"react-virtualized": "^9.
|
|
209
|
+
"react-syntax-highlighter": "^15.5.0",
|
|
210
|
+
"react-virtualized": "^9.22.5",
|
|
211
211
|
"rimraf": "^6.0.1",
|
|
212
212
|
"semantic-release": "^19.0.3",
|
|
213
213
|
"shelljs": "^0.8.5",
|
|
214
214
|
"storybook": "^8.0.9",
|
|
215
|
-
"svg-inline-loader": "^0.8.
|
|
216
|
-
"svg-to-jsx": "^1.0.
|
|
215
|
+
"svg-inline-loader": "^0.8.2",
|
|
216
|
+
"svg-to-jsx": "^1.0.4",
|
|
217
217
|
"svgo": "^3.3.2",
|
|
218
|
-
"tslib": "^2.
|
|
218
|
+
"tslib": "^2.7.0",
|
|
219
219
|
"tsx": "^4.16.5",
|
|
220
220
|
"typescript": "^5.4.5"
|
|
221
221
|
},
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { CheckboxProps } from '../Checkbox';
|
|
3
|
-
export type CheckboxFieldProps = {
|
|
4
|
-
className?: string;
|
|
5
|
-
'data-instrumentation'?: string;
|
|
6
|
-
error?: Array<string> | string;
|
|
7
|
-
hideAddOn?: boolean;
|
|
8
|
-
hint?: string;
|
|
9
|
-
hintNode?: React.ReactNode;
|
|
10
|
-
} & CheckboxProps;
|
|
11
|
-
export declare const CheckboxField: React.FunctionComponent<React.PropsWithChildren<CheckboxFieldProps>>;
|
|
12
|
-
export default CheckboxField;
|
|
13
|
-
//# sourceMappingURL=CheckboxField.d.ts.map
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = exports.CheckboxField = void 0;
|
|
8
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
-
var _utils = require("../utils");
|
|
10
|
-
var _Checkbox = _interopRequireDefault(require("../Checkbox"));
|
|
11
|
-
var _FormFieldAddon = _interopRequireDefault(require("../FormFieldAddon"));
|
|
12
|
-
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
13
|
-
var _excluded = ["className", "error", "hideAddOn", "hintNode", "hint"];
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
22
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
23
|
-
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
24
|
-
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
25
|
-
var Container = /*#__PURE__*/(0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
|
|
26
|
-
target: "e1tlns5h1"
|
|
27
|
-
} : {
|
|
28
|
-
target: "e1tlns5h1",
|
|
29
|
-
label: "Container"
|
|
30
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
31
|
-
name: "1saxkct",
|
|
32
|
-
styles: "align-items:stretch;display:flex;flex-flow:column nowrap;min-width:0;position:relative"
|
|
33
|
-
} : {
|
|
34
|
-
name: "1saxkct",
|
|
35
|
-
styles: "align-items:stretch;display:flex;flex-flow:column nowrap;min-width:0;position:relative",
|
|
36
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9DaGVja2JveEZpZWxkL0NoZWNrYm94RmllbGQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1rQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvQ2hlY2tib3hGaWVsZC9DaGVja2JveEZpZWxkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgZ2V0RXJyb3JMaXN0IH0gZ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hbWUsXG4gIGVycm9yLFxuICBoaWRlQWRkT24sXG4gIGhpbnROb2RlLFxuICBoaW50LFxuICAuLi5wcm9wc1xufTogQ2hlY2tib3hGaWVsZFByb3BzKSA9PiB7XG4gIGNvbnN0IGVycm9yTGlzdCA9IGdldEVycm9yTGlzdChlcnJvcilcbiAgcmV0dXJuIChcbiAgICA8Q29udGFpbmVyPlxuICAgICAgPENoZWNrYm94IHsuLi5wcm9wc30gLz5cbiAgICAgIHtoaWRlQWRkT24gfHwgKFxuICAgICAgICA8QWRkb25cbiAgICAgICAgICBlcnJvckxpc3Q9e2Vycm9yTGlzdH1cbiAgICAgICAgICBoaW50PXtoaW50fVxuICAgICAgICAgIGhpbnROb2RlPXtoaW50Tm9kZX1cbiAgICAgICAgICBub0xhYmVsPXshcHJvcHMubGFiZWx9XG4gICAgICAgIC8+XG4gICAgICApfVxuICAgIDwvQ29udGFpbmVyPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IENoZWNrYm94RmllbGRcbiJdfQ== */",
|
|
37
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
38
|
-
});
|
|
39
|
-
var Addon = /*#__PURE__*/(0, _base["default"])(_FormFieldAddon["default"], process.env.NODE_ENV === "production" ? {
|
|
40
|
-
target: "e1tlns5h0"
|
|
41
|
-
} : {
|
|
42
|
-
target: "e1tlns5h0",
|
|
43
|
-
label: "Addon"
|
|
44
|
-
})(function (_ref) {
|
|
45
|
-
var theme = _ref.theme,
|
|
46
|
-
noLabel = _ref.noLabel;
|
|
47
|
-
return {
|
|
48
|
-
margin: 0,
|
|
49
|
-
marginLeft: noLabel ? 0 : theme.space[6]
|
|
50
|
-
};
|
|
51
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9DaGVja2JveEZpZWxkL0NoZWNrYm94RmllbGQudHN4Il0sIm5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ZGU/OiBSZWFjdC5SZWFjdE5vZGVcbn0gJiBDaGVja2JveFByb3BzXG5cbmV4cG9ydCBjb25zdCBDaGVja2JveEZpZWxkOiBSZWFjdC5GdW5jdGlvbkNvbXBvbmVudDxcbiAgUmVhY3QuUHJvcHNXaXRoQ2hpbGRyZW48Q2hlY2tib3hGaWVsZFByb3BzPlxuPiA9ICh7XG4gIGNsYXNzTmFtZSxcbiAgZXJyb3IsXG4gIGhpZGVBZGRPbixcbiAgaGludE5vZGUsXG4gIGhpbnQsXG4gIC4uLnByb3BzXG59OiBDaGVja2JveEZpZWxkUHJvcHMpID0+IHtcbiAgY29uc3QgZXJyb3JMaXN0ID0gZ2V0RXJyb3JMaXN0KGVycm9yKVxuICByZXR1cm4gKFxuICAgIDxDb250YWluZXI+XG4gICAgICA8Q2hlY2tib3ggey4uLnByb3BzfSAvPlxuICAgICAge2hpZGVBZGRPbiB8fCAoXG4gICAgICAgIDxBZGRvblxuICAgICAgICAgIGVycm9yTGlzdD17ZXJyb3JMaXN0fVxuICAgICAgICAgIGhpbnQ9e2hpbnR9XG4gICAgICAgICAgaGludE5vZGU9e2hpbnROb2RlfVxuICAgICAgICAgIG5vTGFiZWw9eyFwcm9wcy5sYWJlbH1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgPC9Db250YWluZXI+XG4gIClcbn1cblxuZXhwb3J0IGRlZmF1bHQgQ2hlY2tib3hGaWVsZFxuIl19 */");
|
|
52
|
-
var CheckboxField = exports.CheckboxField = function CheckboxField(_ref2) {
|
|
53
|
-
var className = _ref2.className,
|
|
54
|
-
error = _ref2.error,
|
|
55
|
-
hideAddOn = _ref2.hideAddOn,
|
|
56
|
-
hintNode = _ref2.hintNode,
|
|
57
|
-
hint = _ref2.hint,
|
|
58
|
-
props = _objectWithoutProperties(_ref2, _excluded);
|
|
59
|
-
var errorList = (0, _utils.getErrorList)(error);
|
|
60
|
-
return (0, _jsxRuntime.jsxs)(Container, {
|
|
61
|
-
"data-gs": gs("src", "checkboxfield", "checkboxfield.tsx", "container"),
|
|
62
|
-
children: [(0, _jsxRuntime.jsx)(_Checkbox["default"], _objectSpread({
|
|
63
|
-
"data-gs": gs("src", "checkboxfield", "checkboxfield.tsx", "container", "checkbox")
|
|
64
|
-
}, props)), hideAddOn || (0, _jsxRuntime.jsx)(Addon, {
|
|
65
|
-
"data-gs": gs("src", "checkboxfield", "checkboxfield.tsx", "container", "addon"),
|
|
66
|
-
errorList: errorList,
|
|
67
|
-
hint: hint,
|
|
68
|
-
hintNode: hintNode,
|
|
69
|
-
noLabel: !props.label
|
|
70
|
-
})]
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
var _default = exports["default"] = CheckboxField;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "default", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _CheckboxField["default"];
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _CheckboxField = _interopRequireDefault(require("./CheckboxField"));
|
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
-
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
15
|
-
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { ReactNode, KeyboardEvent, Component } from 'react';
|
|
2
|
-
import type { FormFieldProps } from '../FormField';
|
|
3
|
-
import type { PLACEMENT } from '../TooltipPopover';
|
|
4
|
-
export declare const CLOSE_KEYS: string[];
|
|
5
|
-
export declare const FORMAT_DATE_ERROR_MESSAGE = "Format M/d/yyyy";
|
|
6
|
-
export declare const DATE_FORMAT = "yyyy-M-d HH:mm:ss";
|
|
7
|
-
export declare const FORMAT_ERROR_MESSAGE = "Format yyyy-M-d HH:mm:ss";
|
|
8
|
-
export declare const DISABLED_DAY_ERROR_MESSAGE = "That date is disabled";
|
|
9
|
-
export type DateFieldProps = Omit<FormFieldProps<'text'>, 'value' | 'onChange' | 'type'> & {
|
|
10
|
-
clearable?: boolean;
|
|
11
|
-
disabledDays?: (date: Date) => boolean;
|
|
12
|
-
/** Dates after today should be selectable; defaults to true */
|
|
13
|
-
enableFutureDates?: boolean;
|
|
14
|
-
/** Dates before today should be selectable; defaults to false */
|
|
15
|
-
enablePastDates?: boolean;
|
|
16
|
-
/** Earliest selectable datetime */
|
|
17
|
-
minDatetime?: Date;
|
|
18
|
-
/** Callback triggered when user changes date. */
|
|
19
|
-
onChange: (val: {
|
|
20
|
-
name: string;
|
|
21
|
-
value: Date | string | null;
|
|
22
|
-
}) => void;
|
|
23
|
-
/** Selected/displayed date */
|
|
24
|
-
value: Date | null;
|
|
25
|
-
/** Hide Error addon for dates */
|
|
26
|
-
hideErrors?: boolean;
|
|
27
|
-
/** Positions the popover. Use value from OverlayTrigger.PLACEMENT. Defaults to BOTTOM. */
|
|
28
|
-
popoverPlacement?: PLACEMENT;
|
|
29
|
-
time?: boolean;
|
|
30
|
-
popoverRenderer?: () => ReactNode;
|
|
31
|
-
/** this function gets called when show is called */
|
|
32
|
-
onMenuOpen?: () => void;
|
|
33
|
-
/** this function gets called when hide is called */
|
|
34
|
-
onMenuClose?: () => void;
|
|
35
|
-
/** Instrumentation */
|
|
36
|
-
'data-instrumentation'?: string;
|
|
37
|
-
/** Locale */
|
|
38
|
-
locale?: string;
|
|
39
|
-
};
|
|
40
|
-
type DateFieldState = {
|
|
41
|
-
inputValue: string;
|
|
42
|
-
show: boolean;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Displays a text Input component with a popover DatePicker for selecting a date.
|
|
46
|
-
*/
|
|
47
|
-
export declare class UnstyledDateField extends Component<DateFieldProps, DateFieldState> {
|
|
48
|
-
static defaultProps: {
|
|
49
|
-
enablePastDates: boolean;
|
|
50
|
-
enableFutureDates: boolean;
|
|
51
|
-
clearable: boolean;
|
|
52
|
-
popoverPlacement: string;
|
|
53
|
-
'data-instrumentation': string;
|
|
54
|
-
};
|
|
55
|
-
inputRef: import("react").RefObject<HTMLInputElement>;
|
|
56
|
-
datePickerRef: import("react").RefObject<HTMLDivElement>;
|
|
57
|
-
constructor(props: DateFieldProps, context?: any);
|
|
58
|
-
componentDidUpdate(prevProps: DateFieldProps): void;
|
|
59
|
-
show: () => void;
|
|
60
|
-
hide: () => void;
|
|
61
|
-
onRootClose: (e: MouseEvent | TouchEvent) => void;
|
|
62
|
-
_overlayTarget: () => HTMLInputElement | null;
|
|
63
|
-
_onKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
64
|
-
_onDatePickerChange: (value: Date | string) => void;
|
|
65
|
-
_onInputChange: ({ name, value }: {
|
|
66
|
-
name: any;
|
|
67
|
-
value: any;
|
|
68
|
-
}) => void;
|
|
69
|
-
getErrors: () => string[] | undefined;
|
|
70
|
-
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
71
|
-
}
|
|
72
|
-
export default function DateField(props: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
73
|
-
export {};
|
|
74
|
-
//# sourceMappingURL=DateField.d.ts.map
|