@economic/taco 2.7.3 → 2.7.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm/index.css +4 -2
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +1 -3
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +3 -5
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +2 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +35 -13
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +5 -5
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js +7 -4
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js.map +1 -1
- package/dist/index.css +4 -2
- package/dist/taco.cjs.development.js +53 -31
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/package.json +2 -2
- package/types.json +180 -128
package/types.json
CHANGED
@@ -506126,7 +506126,7 @@
|
|
506126
506126
|
"type": "reference",
|
506127
506127
|
"name": "Select2PropsWithStatics"
|
506128
506128
|
},
|
506129
|
-
"defaultValue": "React.forwardRef<HTMLButtonElement, Select2Props>(function Select2(props, ref) {\n const {\n children: initChildren,\n defaultValue: defaultProp,\n disabled = false,\n emptyValue = undefined,\n highlighted = false,\n invalid = false,\n multiple = false,\n name,\n onChange,\n onCreate,\n onDelete,\n onEdit,\n readOnly = false,\n tags = false,\n value: prop,\n ...otherProps\n } = props;\n\n const emptyOption: React.ReactElement<Select2OptionProps> | undefined = React.useMemo(() => {\n if (emptyValue !== undefined && !multiple) {\n // Empty option has 0px height, because it's empty, so need to apply height manually\n return <Option key=\"__empty\" children=\"\" value={emptyValue} className=\"h-8\" />;\n }\n return;\n }, [emptyValue, multiple]);\n\n const initialChildren = React.useMemo(() => {\n if (emptyOption) {\n return [emptyOption, ...initChildren] as Select2Children;\n }\n return initChildren;\n }, [emptyOption, initChildren]);\n\n // refs\n const internalRef = useMergedRef<HTMLButtonElement>(ref);\n const listboxRef = React.useRef<CollectionRef>(null);\n const searchRef = React.useRef<HTMLInputElement>(null);\n const { texts } = useLocalization();\n // align the listbox min width with the width of the input - it should never be smaller\n const dimensions = useBoundingClientRectListener(internalRef);\n\n // state\n const [open, setOpen] = React.useState(false);\n const [value, _setValue] = useControllableState<Select2Value>({\n // uncontrolled\n defaultProp,\n // controlled\n onChange,\n prop,\n });\n const setValue = ListboxPrimitive.createListboxValueSetter(multiple, _setValue);\n const [validationError, setValidationError] = React.useState<Error | undefined>();\n const [shouldPauseHoverState, setShouldPauseHoverState] = useIsHoverStatePaused();\n\n const { flattenedChildren, filteredChildren, searchQuery, setSearchQuery } = useChildren({\n children: initialChildren,\n emptyValue,\n multiple,\n open,\n setValue,\n value,\n });\n\n // context\n const context = {\n disabled,\n highlighted,\n invalid,\n listboxRef,\n multiple,\n onCreate,\n onDelete,\n onEdit,\n open,\n readOnly,\n ref: internalRef,\n searchQuery,\n searchRef,\n setOpen,\n setSearchQuery,\n setValidationError,\n setValue,\n shouldPauseHoverState,\n setShouldPauseHoverState,\n tags,\n validationError,\n value,\n };\n\n const handleKeyDown = (event: React.KeyboardEvent<HTMLElement>) => {\n if (open) {\n event.preventDefault();\n } else if (!event.ctrlKey && !event.metaKey && (event.key === 'ArrowDown' || /^[a-z0-9]$/i.test(event.key))) {\n setOpen(true);\n }\n\n // the focus should always remain on the input, so we forward events on to the listbox\n listboxRef.current?.dispatchEvent(createCustomKeyboardEvent(event as React.KeyboardEvent<HTMLInputElement>));\n };\n\n let handleBlur;\n\n if (otherProps.onBlur) {\n // we might be focusing on an input or something inside the dropdown that was triggered by the select\n // so see if the element gaining focus is inside a portal and look up its controller\n // if we don't do this, things like validate on blur occur while simply opening the select\n handleBlur = (event: React.FocusEvent<HTMLButtonElement>) => {\n const elementGainingFocus = event.relatedTarget;\n\n if (elementGainingFocus === undefined) {\n return;\n }\n\n const portalId = elementGainingFocus?.closest('[data-radix-popper-content-wrapper] > :first-child')?.id;\n\n if (!portalId || event.currentTarget.getAttribute(`aria-controls`) !== portalId) {\n otherProps.onBlur?.(event);\n }\n };\n }\n\n const handleListboxKeyDown = (event: React.KeyboardEvent<HTMLElement>) => {\n if (isAriaDirectionKey(event)) {\n setShouldPauseHoverState(true);\n }\n };\n\n const className = cn('border-grey-300 rounded border bg-white py-1.5 shadow-md outline-none', createCollectionClassName());\n\n return (\n <Select2Context.Provider value={context}>\n <PopoverPrimitive.Root open={open} onOpenChange={setOpen}>\n <ControlledHiddenField\n emptyValue={emptyValue}\n multiple={multiple || tags}\n name={name}\n options={flattenedChildren.map(child => child.props.value)}\n parentRef={internalRef}\n setValue={setValue}\n value={value}\n />\n <PopoverPrimitive.Trigger asChild data-taco=\"Select2\">\n <Trigger\n {...otherProps}\n aria-haspopup=\"listbox\"\n emptyValue={emptyValue}\n onBlur={handleBlur}\n onKeyDown={handleKeyDown}\n ref={internalRef}>\n {flattenedChildren}\n </Trigger>\n </PopoverPrimitive.Trigger>\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n asChild\n align=\"start\"\n onOpenAutoFocus={
|
506129
|
+
"defaultValue": "React.forwardRef<HTMLButtonElement, Select2Props>(function Select2(props, ref) {\n const {\n children: initChildren,\n defaultValue: defaultProp,\n disabled = false,\n emptyValue = undefined,\n highlighted = false,\n invalid = false,\n multiple = false,\n name,\n onChange,\n onCreate,\n onDelete,\n onEdit,\n readOnly = false,\n tags = false,\n value: prop,\n ...otherProps\n } = props;\n\n const emptyOption: React.ReactElement<Select2OptionProps> | undefined = React.useMemo(() => {\n if (emptyValue !== undefined && !multiple) {\n // Empty option has 0px height, because it's empty, so need to apply height manually\n return <Option key=\"__empty\" children=\"\" value={emptyValue} className=\"h-8\" />;\n }\n return;\n }, [emptyValue, multiple]);\n\n const initialChildren = React.useMemo(() => {\n if (emptyOption) {\n return [emptyOption, ...initChildren] as Select2Children;\n }\n return initChildren;\n }, [emptyOption, initChildren]);\n\n // refs\n const internalRef = useMergedRef<HTMLButtonElement>(ref);\n const listboxRef = React.useRef<CollectionRef>(null);\n const searchRef = React.useRef<HTMLInputElement>(null);\n const { texts } = useLocalization();\n // align the listbox min width with the width of the input - it should never be smaller\n const dimensions = useBoundingClientRectListener(internalRef);\n\n // state\n const [open, setOpen] = React.useState(false);\n const [value, _setValue] = useControllableState<Select2Value>({\n // uncontrolled\n defaultProp,\n // controlled\n onChange,\n prop,\n });\n const setValue = ListboxPrimitive.createListboxValueSetter(multiple, _setValue);\n const [validationError, setValidationError] = React.useState<Error | undefined>();\n const [shouldPauseHoverState, setShouldPauseHoverState] = useIsHoverStatePaused();\n\n const { flattenedChildren, filteredChildren, searchQuery, setSearchQuery } = useChildren({\n children: initialChildren,\n emptyValue,\n multiple,\n open,\n setValue,\n value,\n });\n\n // context\n const context = {\n disabled,\n highlighted,\n invalid,\n listboxRef,\n multiple,\n onCreate,\n onDelete,\n onEdit,\n open,\n readOnly,\n ref: internalRef,\n searchQuery,\n searchRef,\n setOpen,\n setSearchQuery,\n setValidationError,\n setValue,\n shouldPauseHoverState,\n setShouldPauseHoverState,\n tags,\n validationError,\n value,\n };\n\n const handleKeyDown = (event: React.KeyboardEvent<HTMLElement>) => {\n if (open) {\n event.preventDefault();\n } else if (!event.ctrlKey && !event.metaKey && (event.key === 'ArrowDown' || /^[a-z0-9]$/i.test(event.key))) {\n setOpen(true);\n }\n\n // the focus should always remain on the input, so we forward events on to the listbox\n listboxRef.current?.dispatchEvent(createCustomKeyboardEvent(event as React.KeyboardEvent<HTMLInputElement>));\n };\n\n let handleBlur;\n\n if (otherProps.onBlur) {\n // we might be focusing on an input or something inside the dropdown that was triggered by the select\n // so see if the element gaining focus is inside a portal and look up its controller\n // if we don't do this, things like validate on blur occur while simply opening the select\n handleBlur = (event: React.FocusEvent<HTMLButtonElement>) => {\n const elementGainingFocus = event.relatedTarget;\n\n if (elementGainingFocus === undefined) {\n return;\n }\n\n const portalId = elementGainingFocus?.closest('[data-radix-popper-content-wrapper] > :first-child')?.id;\n\n if (!portalId || event.currentTarget.getAttribute(`aria-controls`) !== portalId) {\n otherProps.onBlur?.(event);\n }\n };\n }\n\n const handleListboxKeyDown = (event: React.KeyboardEvent<HTMLElement>) => {\n if (isAriaDirectionKey(event)) {\n setShouldPauseHoverState(true);\n }\n };\n\n const className = cn('border-grey-300 rounded border bg-white py-1.5 shadow-md outline-none', createCollectionClassName());\n\n return (\n <Select2Context.Provider value={context}>\n <PopoverPrimitive.Root open={open} onOpenChange={setOpen}>\n <ControlledHiddenField\n emptyValue={emptyValue}\n multiple={multiple || tags}\n name={name}\n options={flattenedChildren.map(child => child.props.value)}\n parentRef={internalRef}\n setValue={setValue}\n value={value}\n />\n <PopoverPrimitive.Trigger asChild data-taco=\"Select2\">\n <Trigger\n {...otherProps}\n aria-haspopup=\"listbox\"\n emptyValue={emptyValue}\n onBlur={handleBlur}\n onKeyDown={handleKeyDown}\n ref={internalRef}>\n {flattenedChildren}\n </Trigger>\n </PopoverPrimitive.Trigger>\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n asChild\n align=\"start\"\n onOpenAutoFocus={() => {\n internalRef.current?.focus();\n }}\n onCloseAutoFocus={event => {\n event.preventDefault();\n event.stopPropagation();\n internalRef.current?.focus();\n }}\n sideOffset={4}\n tabIndex={-1}>\n <div className={className} style={{ minWidth: dimensions?.width ? `${dimensions.width}px` : undefined }}>\n {flattenedChildren.length > 0 || onCreate ? (\n <Search\n placeholder={onCreate ? texts.select2.searchOrCreate : texts.select2.search}\n ref={searchRef}\n />\n ) : null}\n {flattenedChildren.length <= 0 ? (\n <div className=\"text-grey-700 -mt-0.5 flex h-8 items-center px-2\" role=\"presentation\">\n No results found...\n </div>\n ) : (\n <ListboxPrimitive.Root\n className=\"flex flex-col gap-0.5\"\n customSelector=\":scope > button\"\n disabled={disabled}\n multiple={multiple}\n onKeyDown={handleListboxKeyDown}\n readOnly={readOnly}\n ref={listboxRef}\n setValue={setValue}\n tabIndex={-1}\n value={value}>\n {/*multiple && !searchQuery && Array.isArray(value) ? (\n <All\n children={flattenedChildren}\n onToggle={_setValue}\n selected={value.length === flattenedChildren.length}\n />\n ) : null*/}\n {searchQuery === '' ? (\n <Collection>{initialChildren}</Collection>\n ) : (\n <Collection>{filteredChildren}</Collection>\n )}\n {onCreate ? <Create onCreate={onCreate} options={flattenedChildren} /> : null}\n </ListboxPrimitive.Root>\n )}\n </div>\n </PopoverPrimitive.Content>\n </PopoverPrimitive.Portal>\n </PopoverPrimitive.Root>\n </Select2Context.Provider>\n );\n}) as Select2PropsWithStatics"
|
506130
506130
|
}
|
506131
506131
|
],
|
506132
506132
|
"groups": [
|
@@ -538668,7 +538668,7 @@
|
|
538668
538668
|
]
|
538669
538669
|
},
|
538670
538670
|
{
|
538671
|
-
"id":
|
538671
|
+
"id": 7095,
|
538672
538672
|
"name": "Filter",
|
538673
538673
|
"kind": 64,
|
538674
538674
|
"kindString": "Function",
|
@@ -538678,7 +538678,7 @@
|
|
538678
538678
|
},
|
538679
538679
|
"signatures": [
|
538680
538680
|
{
|
538681
|
-
"id":
|
538681
|
+
"id": 7096,
|
538682
538682
|
"name": "Filter",
|
538683
538683
|
"kind": 4096,
|
538684
538684
|
"kindString": "Call signature",
|
@@ -538693,7 +538693,7 @@
|
|
538693
538693
|
]
|
538694
538694
|
},
|
538695
538695
|
{
|
538696
|
-
"id":
|
538696
|
+
"id": 7101,
|
538697
538697
|
"name": "FilterCustom",
|
538698
538698
|
"kind": 64,
|
538699
538699
|
"kindString": "Function",
|
@@ -538703,7 +538703,7 @@
|
|
538703
538703
|
},
|
538704
538704
|
"signatures": [
|
538705
538705
|
{
|
538706
|
-
"id":
|
538706
|
+
"id": 7102,
|
538707
538707
|
"name": "FilterCustom",
|
538708
538708
|
"kind": 4096,
|
538709
538709
|
"kindString": "Call signature",
|
@@ -538718,7 +538718,7 @@
|
|
538718
538718
|
]
|
538719
538719
|
},
|
538720
538720
|
{
|
538721
|
-
"id":
|
538721
|
+
"id": 7097,
|
538722
538722
|
"name": "FilterHandler",
|
538723
538723
|
"kind": 64,
|
538724
538724
|
"kindString": "Function",
|
@@ -538728,7 +538728,7 @@
|
|
538728
538728
|
},
|
538729
538729
|
"signatures": [
|
538730
538730
|
{
|
538731
|
-
"id":
|
538731
|
+
"id": 7098,
|
538732
538732
|
"name": "FilterHandler",
|
538733
538733
|
"kind": 4096,
|
538734
538734
|
"kindString": "Call signature",
|
@@ -538743,7 +538743,7 @@
|
|
538743
538743
|
]
|
538744
538744
|
},
|
538745
538745
|
{
|
538746
|
-
"id":
|
538746
|
+
"id": 7099,
|
538747
538747
|
"name": "FilterReset",
|
538748
538748
|
"kind": 64,
|
538749
538749
|
"kindString": "Function",
|
@@ -538753,7 +538753,7 @@
|
|
538753
538753
|
},
|
538754
538754
|
"signatures": [
|
538755
538755
|
{
|
538756
|
-
"id":
|
538756
|
+
"id": 7100,
|
538757
538757
|
"name": "FilterReset",
|
538758
538758
|
"kind": 4096,
|
538759
538759
|
"kindString": "Call signature",
|
@@ -538768,7 +538768,7 @@
|
|
538768
538768
|
]
|
538769
538769
|
},
|
538770
538770
|
{
|
538771
|
-
"id":
|
538771
|
+
"id": 7123,
|
538772
538772
|
"name": "InlineEditing",
|
538773
538773
|
"kind": 64,
|
538774
538774
|
"kindString": "Function",
|
@@ -538778,7 +538778,7 @@
|
|
538778
538778
|
},
|
538779
538779
|
"signatures": [
|
538780
538780
|
{
|
538781
|
-
"id":
|
538781
|
+
"id": 7124,
|
538782
538782
|
"name": "InlineEditing",
|
538783
538783
|
"kind": 4096,
|
538784
538784
|
"kindString": "Call signature",
|
@@ -538787,7 +538787,7 @@
|
|
538787
538787
|
},
|
538788
538788
|
"parameters": [
|
538789
538789
|
{
|
538790
|
-
"id":
|
538790
|
+
"id": 7125,
|
538791
538791
|
"name": "__namedParameters",
|
538792
538792
|
"kind": 32768,
|
538793
538793
|
"kindString": "Parameter",
|
@@ -538798,7 +538798,7 @@
|
|
538798
538798
|
"type": {
|
538799
538799
|
"type": "reflection",
|
538800
538800
|
"declaration": {
|
538801
|
-
"id":
|
538801
|
+
"id": 7126,
|
538802
538802
|
"name": "__type",
|
538803
538803
|
"kind": 65536,
|
538804
538804
|
"kindString": "Type literal",
|
@@ -538807,7 +538807,7 @@
|
|
538807
538807
|
},
|
538808
538808
|
"children": [
|
538809
538809
|
{
|
538810
|
-
"id":
|
538810
|
+
"id": 7127,
|
538811
538811
|
"name": "preset",
|
538812
538812
|
"kind": 32,
|
538813
538813
|
"kindString": "Variable",
|
@@ -538826,7 +538826,7 @@
|
|
538826
538826
|
"title": "Variables",
|
538827
538827
|
"kind": 32,
|
538828
538828
|
"children": [
|
538829
|
-
|
538829
|
+
7127
|
538830
538830
|
]
|
538831
538831
|
}
|
538832
538832
|
]
|
@@ -538842,7 +538842,7 @@
|
|
538842
538842
|
]
|
538843
538843
|
},
|
538844
538844
|
{
|
538845
|
-
"id":
|
538845
|
+
"id": 7128,
|
538846
538846
|
"name": "KitchenSink",
|
538847
538847
|
"kind": 64,
|
538848
538848
|
"kindString": "Function",
|
@@ -538852,7 +538852,7 @@
|
|
538852
538852
|
},
|
538853
538853
|
"signatures": [
|
538854
538854
|
{
|
538855
|
-
"id":
|
538855
|
+
"id": 7129,
|
538856
538856
|
"name": "KitchenSink",
|
538857
538857
|
"kind": 4096,
|
538858
538858
|
"kindString": "Call signature",
|
@@ -538867,7 +538867,7 @@
|
|
538867
538867
|
]
|
538868
538868
|
},
|
538869
538869
|
{
|
538870
|
-
"id":
|
538870
|
+
"id": 7130,
|
538871
538871
|
"name": "KitchenSinkPerformance",
|
538872
538872
|
"kind": 64,
|
538873
538873
|
"kindString": "Function",
|
@@ -538877,7 +538877,7 @@
|
|
538877
538877
|
},
|
538878
538878
|
"signatures": [
|
538879
538879
|
{
|
538880
|
-
"id":
|
538880
|
+
"id": 7131,
|
538881
538881
|
"name": "KitchenSinkPerformance",
|
538882
538882
|
"kind": 4096,
|
538883
538883
|
"kindString": "Call signature",
|
@@ -538892,7 +538892,7 @@
|
|
538892
538892
|
]
|
538893
538893
|
},
|
538894
538894
|
{
|
538895
|
-
"id":
|
538895
|
+
"id": 7132,
|
538896
538896
|
"name": "PresetDisplay",
|
538897
538897
|
"kind": 64,
|
538898
538898
|
"kindString": "Function",
|
@@ -538902,7 +538902,7 @@
|
|
538902
538902
|
},
|
538903
538903
|
"signatures": [
|
538904
538904
|
{
|
538905
|
-
"id":
|
538905
|
+
"id": 7133,
|
538906
538906
|
"name": "PresetDisplay",
|
538907
538907
|
"kind": 4096,
|
538908
538908
|
"kindString": "Call signature",
|
@@ -538943,7 +538943,7 @@
|
|
538943
538943
|
},
|
538944
538944
|
{
|
538945
538945
|
"id": 7089,
|
538946
|
-
"name": "
|
538946
|
+
"name": "PrintDialog",
|
538947
538947
|
"kind": 64,
|
538948
538948
|
"kindString": "Function",
|
538949
538949
|
"flags": {
|
@@ -538953,7 +538953,7 @@
|
|
538953
538953
|
"signatures": [
|
538954
538954
|
{
|
538955
538955
|
"id": 7090,
|
538956
|
-
"name": "
|
538956
|
+
"name": "PrintDialog",
|
538957
538957
|
"kind": 4096,
|
538958
538958
|
"kindString": "Call signature",
|
538959
538959
|
"flags": {
|
@@ -538968,7 +538968,7 @@
|
|
538968
538968
|
},
|
538969
538969
|
{
|
538970
538970
|
"id": 7091,
|
538971
|
-
"name": "
|
538971
|
+
"name": "PrintHandler",
|
538972
538972
|
"kind": 64,
|
538973
538973
|
"kindString": "Function",
|
538974
538974
|
"flags": {
|
@@ -538978,6 +538978,31 @@
|
|
538978
538978
|
"signatures": [
|
538979
538979
|
{
|
538980
538980
|
"id": 7092,
|
538981
|
+
"name": "PrintHandler",
|
538982
|
+
"kind": 4096,
|
538983
|
+
"kindString": "Call signature",
|
538984
|
+
"flags": {
|
538985
|
+
"isExported": true
|
538986
|
+
},
|
538987
|
+
"type": {
|
538988
|
+
"type": "reference",
|
538989
|
+
"name": "Element"
|
538990
|
+
}
|
538991
|
+
}
|
538992
|
+
]
|
538993
|
+
},
|
538994
|
+
{
|
538995
|
+
"id": 7093,
|
538996
|
+
"name": "PrintHandlerPerformance",
|
538997
|
+
"kind": 64,
|
538998
|
+
"kindString": "Function",
|
538999
|
+
"flags": {
|
539000
|
+
"isExported": true,
|
539001
|
+
"isConst": true
|
539002
|
+
},
|
539003
|
+
"signatures": [
|
539004
|
+
{
|
539005
|
+
"id": 7094,
|
538981
539006
|
"name": "PrintHandlerPerformance",
|
538982
539007
|
"kind": 4096,
|
538983
539008
|
"kindString": "Call signature",
|
@@ -539417,7 +539442,7 @@
|
|
539417
539442
|
]
|
539418
539443
|
},
|
539419
539444
|
{
|
539420
|
-
"id":
|
539445
|
+
"id": 7103,
|
539421
539446
|
"name": "Search",
|
539422
539447
|
"kind": 64,
|
539423
539448
|
"kindString": "Function",
|
@@ -539427,7 +539452,7 @@
|
|
539427
539452
|
},
|
539428
539453
|
"signatures": [
|
539429
539454
|
{
|
539430
|
-
"id":
|
539455
|
+
"id": 7104,
|
539431
539456
|
"name": "Search",
|
539432
539457
|
"kind": 4096,
|
539433
539458
|
"kindString": "Call signature",
|
@@ -539442,7 +539467,32 @@
|
|
539442
539467
|
]
|
539443
539468
|
},
|
539444
539469
|
{
|
539445
|
-
"id":
|
539470
|
+
"id": 7105,
|
539471
|
+
"name": "SearchDisabledColumn",
|
539472
|
+
"kind": 64,
|
539473
|
+
"kindString": "Function",
|
539474
|
+
"flags": {
|
539475
|
+
"isExported": true,
|
539476
|
+
"isConst": true
|
539477
|
+
},
|
539478
|
+
"signatures": [
|
539479
|
+
{
|
539480
|
+
"id": 7106,
|
539481
|
+
"name": "SearchDisabledColumn",
|
539482
|
+
"kind": 4096,
|
539483
|
+
"kindString": "Call signature",
|
539484
|
+
"flags": {
|
539485
|
+
"isExported": true
|
539486
|
+
},
|
539487
|
+
"type": {
|
539488
|
+
"type": "reference",
|
539489
|
+
"name": "Element"
|
539490
|
+
}
|
539491
|
+
}
|
539492
|
+
]
|
539493
|
+
},
|
539494
|
+
{
|
539495
|
+
"id": 7107,
|
539446
539496
|
"name": "SearchHandler",
|
539447
539497
|
"kind": 64,
|
539448
539498
|
"kindString": "Function",
|
@@ -539452,7 +539502,7 @@
|
|
539452
539502
|
},
|
539453
539503
|
"signatures": [
|
539454
539504
|
{
|
539455
|
-
"id":
|
539505
|
+
"id": 7108,
|
539456
539506
|
"name": "SearchHandler",
|
539457
539507
|
"kind": 4096,
|
539458
539508
|
"kindString": "Call signature",
|
@@ -539467,7 +539517,7 @@
|
|
539467
539517
|
]
|
539468
539518
|
},
|
539469
539519
|
{
|
539470
|
-
"id":
|
539520
|
+
"id": 7111,
|
539471
539521
|
"name": "SearchHandlerPerformance",
|
539472
539522
|
"kind": 64,
|
539473
539523
|
"kindString": "Function",
|
@@ -539477,7 +539527,7 @@
|
|
539477
539527
|
},
|
539478
539528
|
"signatures": [
|
539479
539529
|
{
|
539480
|
-
"id":
|
539530
|
+
"id": 7112,
|
539481
539531
|
"name": "SearchHandlerPerformance",
|
539482
539532
|
"kind": 4096,
|
539483
539533
|
"kindString": "Call signature",
|
@@ -539492,7 +539542,7 @@
|
|
539492
539542
|
]
|
539493
539543
|
},
|
539494
539544
|
{
|
539495
|
-
"id":
|
539545
|
+
"id": 7109,
|
539496
539546
|
"name": "SearchHandlerSlowRequest",
|
539497
539547
|
"kind": 64,
|
539498
539548
|
"kindString": "Function",
|
@@ -539502,7 +539552,7 @@
|
|
539502
539552
|
},
|
539503
539553
|
"signatures": [
|
539504
539554
|
{
|
539505
|
-
"id":
|
539555
|
+
"id": 7110,
|
539506
539556
|
"name": "SearchHandlerSlowRequest",
|
539507
539557
|
"kind": 4096,
|
539508
539558
|
"kindString": "Call signature",
|
@@ -539542,7 +539592,7 @@
|
|
539542
539592
|
]
|
539543
539593
|
},
|
539544
539594
|
{
|
539545
|
-
"id":
|
539595
|
+
"id": 7113,
|
539546
539596
|
"name": "Settings",
|
539547
539597
|
"kind": 64,
|
539548
539598
|
"kindString": "Function",
|
@@ -539552,7 +539602,7 @@
|
|
539552
539602
|
},
|
539553
539603
|
"signatures": [
|
539554
539604
|
{
|
539555
|
-
"id":
|
539605
|
+
"id": 7114,
|
539556
539606
|
"name": "Settings",
|
539557
539607
|
"kind": 4096,
|
539558
539608
|
"kindString": "Call signature",
|
@@ -539567,7 +539617,7 @@
|
|
539567
539617
|
]
|
539568
539618
|
},
|
539569
539619
|
{
|
539570
|
-
"id":
|
539620
|
+
"id": 7115,
|
539571
539621
|
"name": "SettingsDefault",
|
539572
539622
|
"kind": 64,
|
539573
539623
|
"kindString": "Function",
|
@@ -539577,7 +539627,7 @@
|
|
539577
539627
|
},
|
539578
539628
|
"signatures": [
|
539579
539629
|
{
|
539580
|
-
"id":
|
539630
|
+
"id": 7116,
|
539581
539631
|
"name": "SettingsDefault",
|
539582
539632
|
"kind": 4096,
|
539583
539633
|
"kindString": "Call signature",
|
@@ -539592,7 +539642,7 @@
|
|
539592
539642
|
]
|
539593
539643
|
},
|
539594
539644
|
{
|
539595
|
-
"id":
|
539645
|
+
"id": 7117,
|
539596
539646
|
"name": "SettingsHandler",
|
539597
539647
|
"kind": 64,
|
539598
539648
|
"kindString": "Function",
|
@@ -539602,7 +539652,7 @@
|
|
539602
539652
|
},
|
539603
539653
|
"signatures": [
|
539604
539654
|
{
|
539605
|
-
"id":
|
539655
|
+
"id": 7118,
|
539606
539656
|
"name": "SettingsHandler",
|
539607
539657
|
"kind": 4096,
|
539608
539658
|
"kindString": "Call signature",
|
@@ -539617,7 +539667,7 @@
|
|
539617
539667
|
]
|
539618
539668
|
},
|
539619
539669
|
{
|
539620
|
-
"id":
|
539670
|
+
"id": 7119,
|
539621
539671
|
"name": "Shortcuts",
|
539622
539672
|
"kind": 64,
|
539623
539673
|
"kindString": "Function",
|
@@ -539627,7 +539677,7 @@
|
|
539627
539677
|
},
|
539628
539678
|
"signatures": [
|
539629
539679
|
{
|
539630
|
-
"id":
|
539680
|
+
"id": 7120,
|
539631
539681
|
"name": "Shortcuts",
|
539632
539682
|
"kind": 4096,
|
539633
539683
|
"kindString": "Call signature",
|
@@ -539767,7 +539817,7 @@
|
|
539767
539817
|
]
|
539768
539818
|
},
|
539769
539819
|
{
|
539770
|
-
"id":
|
539820
|
+
"id": 7121,
|
539771
539821
|
"name": "Toolbar",
|
539772
539822
|
"kind": 64,
|
539773
539823
|
"kindString": "Function",
|
@@ -539777,7 +539827,7 @@
|
|
539777
539827
|
},
|
539778
539828
|
"signatures": [
|
539779
539829
|
{
|
539780
|
-
"id":
|
539830
|
+
"id": 7122,
|
539781
539831
|
"name": "Toolbar",
|
539782
539832
|
"kind": 4096,
|
539783
539833
|
"kindString": "Call signature",
|
@@ -539814,17 +539864,18 @@
|
|
539814
539864
|
7035,
|
539815
539865
|
7039,
|
539816
539866
|
7007,
|
539817
|
-
7093,
|
539818
|
-
7099,
|
539819
539867
|
7095,
|
539868
|
+
7101,
|
539820
539869
|
7097,
|
539821
|
-
|
539822
|
-
|
539823
|
-
7126,
|
539870
|
+
7099,
|
539871
|
+
7123,
|
539824
539872
|
7128,
|
539873
|
+
7130,
|
539874
|
+
7132,
|
539825
539875
|
7087,
|
539826
539876
|
7089,
|
539827
539877
|
7091,
|
539878
|
+
7093,
|
539828
539879
|
7041,
|
539829
539880
|
7045,
|
539830
539881
|
7043,
|
@@ -539842,21 +539893,22 @@
|
|
539842
539893
|
7069,
|
539843
539894
|
7073,
|
539844
539895
|
7071,
|
539845
|
-
7101,
|
539846
539896
|
7103,
|
539847
|
-
7107,
|
539848
539897
|
7105,
|
539849
|
-
|
539850
|
-
7109,
|
539898
|
+
7107,
|
539851
539899
|
7111,
|
539900
|
+
7109,
|
539901
|
+
7085,
|
539852
539902
|
7113,
|
539853
539903
|
7115,
|
539904
|
+
7117,
|
539905
|
+
7119,
|
539854
539906
|
7075,
|
539855
539907
|
7079,
|
539856
539908
|
7077,
|
539857
539909
|
7081,
|
539858
539910
|
7083,
|
539859
|
-
|
539911
|
+
7121
|
539860
539912
|
]
|
539861
539913
|
}
|
539862
539914
|
]
|
@@ -541279,7 +541331,7 @@
|
|
541279
541331
|
],
|
541280
541332
|
"name": "ForwardRefExoticComponent"
|
541281
541333
|
},
|
541282
|
-
"defaultValue": "React.forwardRef<HTMLElement, any>(function Control<TType = unknown>(\n props: EditingControlProps<TType>,\n externalRef: React.Ref<HTMLElement>\n) {\n const {\n align,\n column,\n data,\n initialValue,\n onChange: handleChange,\n table,\n tableRef,\n value,\n cell,\n isCurrentRow,\n ...attributes\n } = props;\n\n const tableMeta = table.options.meta as TableMeta<unknown>;\n\n const ref = React.useRef<HTMLElement>();\n const refCallback = mergeRefs([ref, externalRef]);\n\n const columnMeta = column.columnDef.meta;\n const controlRenderer = columnMeta?.control;\n\n const isCellInDetailMode =\n tableMeta.editing.detailModeEditing && (ref as React.RefObject<HTMLElement>)?.current?.contains(document.activeElement);\n\n // Revert to initial value if escape was pressed\n const handleKeyDown = (event: React.KeyboardEvent) => {\n const target = event.target as HTMLInputElement;\n\n if (target.readOnly) {\n return;\n }\n\n // prevent row arrow shortcuts triggering when in detail mode\n if (tableMeta.editing.detailModeEditing && (event.key === 'ArrowUp' || event.key === 'ArrowDown')) {\n event.stopPropagation();\n }\n\n if (event.key === 'Escape') {\n event.preventDefault();\n\n if (tableMeta.editing.detailModeEditing) {\n tableMeta.editing.setDetailModeEditing(false);\n\n if (value !== initialValue) {\n // Before reseting to initial value, we need to check if edited row with cell initial value is the same as original row,\n // and in this case we need to completely remove row from editing state to avoid saving the same data as original.\n const changedRow: any = tableMeta.editing.changes ? tableMeta.editing.changes[cell.row.id] : {};\n const rowEdtitingDataWithInitialValue = { ...changedRow, [cell.column.id]: initialValue };\n if (_.isEqual(cell.row.original, rowEdtitingDataWithInitialValue)) {\n tableMeta.editing.resetChange(cell.row.id);\n } else {\n handleChange(initialValue);\n }\n }\n } else {\n tableMeta.editing.toggleEditing(false);\n tableRef.current?.focus();\n }\n\n return;\n }\n\n // Should enable/disable editing mode if Enter was clicked\n if (event.key === 'Enter') {\n event.preventDefault();\n\n if (!tableMeta.editing.detailModeEditing) {\n deselectInputValue(target);\n } else {\n target?.select?.();\n }\n\n // Ketydown \"Enter\" should toggle edititng mode\n tableMeta.editing.setDetailModeEditing(!tableMeta.editing.detailModeEditing);\n\n return;\n }\n };\n\n const isNumber = typeof value === 'number';\n const handleInputKeyDown = (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n handleKeyDown(event);\n\n // Switching to editing mode, when key pressed any alphabetical character or number\n if (/^[a-z0-9]$/i.test(event.key)) {\n tableMeta.editing.setDetailModeEditing(true);\n return;\n }\n };\n\n const handleDatepickerChange = event => {\n // When datepicker looses focus, it triggers change event, even if date wasn't changed,\n // so adding additional check here to prevent adding change to the edititng state.\n const originalDate = cell.row.original[cell.column.id];\n const changedDate = (event as any).detail;\n if (hasChanged(originalDate, changedDate)) {\n handleChange(changedDate);\n }\n };\n\n if (typeof controlRenderer === 'function') {\n return controlRenderer(\n {\n ...attributes,\n ref: ref,\n setValue: nextValue => {\n if (nextValue !== value) {\n handleChange(nextValue);\n }\n },\n value,\n },\n data\n );\n } else if (controlRenderer === 'datepicker') {\n const handleDatepickerKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n handleKeyDown(event);\n\n if (/^[a-z0-9]$/i.test(event.key)) {\n tableMeta.editing.setDetailModeEditing(true);\n return;\n }\n };\n\n return (\n <Datepicker\n {...attributes}\n className={cn({\n '[&_input]:!yt-focus-dark': isCellInDetailMode,\n })}\n onChange={handleDatepickerChange}\n onKeyDown={handleDatepickerKeyDown}\n ref={refCallback}\n value={value as Date}\n />\n );\n } else if (controlRenderer === 'switch') {\n return (\n <Switch {...attributes} className=\"mx-2 mt-1.5\" checked={Boolean(value)} onChange={handleChange} ref={refCallback} />\n );\n } else if (controlRenderer === 'textarea') {\n return (\n <TextareaControl\n {...props}\n isCellInDetailMode={isCellInDetailMode}\n onKeyDown={handleInputKeyDown}\n ref={refCallback}\n />\n );\n }\n\n return (\n <Input\n {...attributes}\n className={cn(getInputAppearanceClassnames(), getCellAlignmentClasses(align), {\n '!yt-focus-dark': isCellInDetailMode,\n })}\n onChange={event => {\n handleChange(event.target.value);\n }}\n onKeyDown={handleInputKeyDown}\n ref={refCallback}\n type={isNumber ? 'number' : undefined}\n value={isNumber ? value : String(value ?? '')}\n />\n );\n})"
|
541334
|
+
"defaultValue": "React.forwardRef<HTMLElement, any>(function Control<TType = unknown>(\n props: EditingControlProps<TType>,\n externalRef: React.Ref<HTMLElement>\n) {\n const {\n align,\n column,\n data,\n initialValue,\n onChange: handleChange,\n table,\n tableRef,\n value,\n cell,\n isCurrentRow,\n ...attributes\n } = props;\n\n const tableMeta = table.options.meta as TableMeta<unknown>;\n\n const ref = React.useRef<HTMLElement>();\n const refCallback = mergeRefs([ref, externalRef]);\n\n const columnMeta = column.columnDef.meta;\n const controlRenderer = columnMeta?.control;\n\n const isCellInDetailMode =\n tableMeta.editing.detailModeEditing && (ref as React.RefObject<HTMLElement>)?.current?.contains(document.activeElement);\n\n // Revert to initial value if escape was pressed\n const handleKeyDown = (event: React.KeyboardEvent) => {\n const target = event.target as HTMLInputElement;\n\n if (target.readOnly) {\n return;\n }\n\n // prevent row arrow shortcuts triggering when in detail mode\n if (tableMeta.editing.detailModeEditing && (event.key === 'ArrowUp' || event.key === 'ArrowDown')) {\n event.stopPropagation();\n }\n\n if (event.key === 'Escape') {\n event.preventDefault();\n\n if (tableMeta.editing.detailModeEditing) {\n tableMeta.editing.setDetailModeEditing(false);\n\n if (value !== initialValue) {\n // Before reseting to initial value, we need to check if edited row with cell initial value is the same as original row,\n // and in this case we need to completely remove row from editing state to avoid saving the same data as original.\n const changedRow: any = tableMeta.editing.changes ? tableMeta.editing.changes[cell.row.id] : {};\n const rowEdtitingDataWithInitialValue = { ...changedRow, [cell.column.id]: initialValue };\n if (_.isEqual(cell.row.original, rowEdtitingDataWithInitialValue)) {\n tableMeta.editing.resetChange(cell.row.id);\n } else {\n handleChange(initialValue);\n }\n }\n } else {\n tableMeta.editing.toggleEditing(false);\n tableRef.current?.focus();\n }\n\n return;\n }\n\n // Should enable/disable editing mode if Enter was clicked\n if (event.key === 'Enter') {\n event.preventDefault();\n\n if (!tableMeta.editing.detailModeEditing) {\n deselectInputValue(target);\n } else {\n target?.select?.();\n }\n\n // Ketydown \"Enter\" should toggle edititng mode\n tableMeta.editing.setDetailModeEditing(!tableMeta.editing.detailModeEditing);\n\n return;\n }\n };\n\n const isNumber = typeof value === 'number';\n const handleInputKeyDown = (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n handleKeyDown(event);\n\n // Switching to editing mode, when key pressed any alphabetical character or number\n if (/^[a-z0-9]$/i.test(event.key)) {\n tableMeta.editing.setDetailModeEditing(true);\n return;\n }\n };\n\n const handleDatepickerChange = event => {\n // When datepicker looses focus, it triggers change event, even if date wasn't changed,\n // so adding additional check here to prevent adding change to the edititng state.\n const originalDate = cell.row.original[cell.column.id];\n const changedDate = (event as any).detail;\n if (hasChanged(originalDate, changedDate)) {\n handleChange(changedDate);\n }\n };\n\n if (typeof controlRenderer === 'function') {\n return controlRenderer(\n {\n ...attributes,\n ref: ref,\n setValue: nextValue => {\n if (nextValue !== value) {\n handleChange(nextValue);\n }\n },\n value,\n },\n data\n );\n } else if (controlRenderer === 'datepicker') {\n const handleDatepickerKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n handleKeyDown(event);\n\n if (/^[a-z0-9]$/i.test(event.key)) {\n tableMeta.editing.setDetailModeEditing(true);\n return;\n }\n };\n\n return (\n <Datepicker\n {...attributes}\n className={cn({\n '[&_input]:!yt-focus-dark': isCellInDetailMode,\n })}\n onChange={handleDatepickerChange}\n onKeyDown={handleDatepickerKeyDown}\n ref={refCallback}\n value={value as Date}\n />\n );\n } else if (controlRenderer === 'switch') {\n return (\n <Switch {...attributes} className=\"mx-2 mt-1.5\" checked={Boolean(value)} onChange={handleChange} ref={refCallback} />\n );\n } else if (controlRenderer === 'textarea') {\n return (\n <TextareaControl\n {...props}\n isCellInDetailMode={isCellInDetailMode}\n onKeyDown={handleInputKeyDown}\n ref={refCallback}\n fontSize={tableMeta.fontSize.size}\n />\n );\n }\n\n return (\n <Input\n {...attributes}\n className={cn(getInputAppearanceClassnames(), getCellAlignmentClasses(align), {\n '!yt-focus-dark': isCellInDetailMode,\n })}\n onChange={event => {\n handleChange(event.target.value);\n }}\n onKeyDown={handleInputKeyDown}\n ref={refCallback}\n type={isNumber ? 'number' : undefined}\n value={isNumber ? value : String(value ?? '')}\n />\n );\n})"
|
541283
541335
|
}
|
541284
541336
|
],
|
541285
541337
|
"groups": [
|
@@ -541762,7 +541814,7 @@
|
|
541762
541814
|
],
|
541763
541815
|
"name": "ForwardRefExoticComponent"
|
541764
541816
|
},
|
541765
|
-
"defaultValue": "React.forwardRef<HTMLElement, any>(function TextareaControl<TType = unknown>(\n props: TextareaControlProps<TType>,\n externalRef: React.Ref<HTMLElement>\n) {\n const {\n onKeyDown: handleKeyDown,\n onChange: handleChange,\n column,\n isCellInDetailMode,\n align,\n isCurrentRow,\n value,\n ...attributes\n } = props;\n\n const
|
541817
|
+
"defaultValue": "React.forwardRef<HTMLElement, any>(function TextareaControl<TType = unknown>(\n props: TextareaControlProps<TType>,\n externalRef: React.Ref<HTMLElement>\n) {\n const {\n onKeyDown: handleKeyDown,\n onChange: handleChange,\n column,\n isCellInDetailMode,\n align,\n isCurrentRow,\n value,\n fontSize,\n ...attributes\n } = props;\n\n const minMaxHeight = heights[fontSize];\n\n const columnMeta = column.columnDef.meta;\n\n const ref = useMergedRef<HTMLTextAreaElement>(externalRef);\n\n React.useEffect(() => {\n if (ref?.current) {\n // Need to reset textarea to min height when font size got changed and if column in enable truncate mode.\n if (columnMeta?.enableTruncate) {\n const textareaElement = ref?.current as HTMLTextAreaElement;\n textareaElement.style.height = `${minMaxHeight.min}px`;\n\n // If truncation is not enabled, then textarea should re-calculate it's height to fit with it's own content, when initialized or fonsSize got changed.\n } else {\n const textareaElement = ref?.current as HTMLTextAreaElement;\n resizeTextArea(textareaElement);\n }\n }\n }, [fontSize]);\n\n React.useEffect(() => {\n // If truncation is enabled, then textarea should only adjust to it's own content, when in detail mode.\n // Otherwise it should collapse to minimal height.\n if (ref?.current && columnMeta?.enableTruncate) {\n const textareaElement = ref?.current as HTMLTextAreaElement;\n\n if (isCellInDetailMode) {\n resizeTextArea(textareaElement);\n } else {\n textareaElement.style.height = `${minMaxHeight.min}px`;\n }\n }\n }, [isCellInDetailMode]);\n\n const resizeTextArea = (textareaElement: HTMLTextAreaElement) => {\n // Need to set inherit before calculating height, so that browser sets the scrollHeight properly,\n // depending on text inside.\n const textareaRect = textareaElement.getBoundingClientRect();\n const prevHeight = textareaRect.height;\n if (columnMeta?.enableTruncate) {\n if (prevHeight < minMaxHeight.max) {\n textareaElement.style.height = 'inherit';\n textareaElement.style.height = `${Math.min(textareaElement.scrollHeight, minMaxHeight.max)}px`;\n }\n } else {\n textareaElement.style.height = 'inherit';\n textareaElement.style.height = `${textareaElement.scrollHeight}px`;\n }\n };\n\n const handleTextareaChange = e => {\n resizeTextArea(e.target);\n };\n\n const textareaContainerClassName = cn('w-full', {\n 'focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-20 focus-within:px-2 focus-within:pt-[var(--table3-row-padding)]':\n columnMeta?.enableTruncate,\n });\n const handleTextareaKeyDown = (event: React.KeyboardEvent<HTMLTextAreaElement>) => {\n // By default Shift + Enter in textarea makes a new line, we want to keep this behaviour\n if (event.shiftKey && event.key === 'Enter') {\n return;\n } else {\n handleKeyDown(event);\n }\n };\n\n return (\n <div className={textareaContainerClassName} data-taco=\"input-container\">\n <Textarea\n {...attributes}\n onChange={event => {\n handleChange(event.target.value);\n handleTextareaChange(event);\n }}\n rows={1}\n onKeyDown={e => {\n handleTextareaKeyDown(e);\n }}\n onBlur={event => {\n // If truncation is enabled, then textarea should shring back to min height, when loosing focus.\n if (columnMeta?.enableTruncate) {\n const textareaElement = event.currentTarget;\n textareaElement.style.height = `${minMaxHeight.min}px`;\n }\n }}\n className={cn(getCellAlignmentClasses(align), `z-20 h-fit resize-none`, {\n [`!min-h-[${minMaxHeight.min}px]`]: columnMeta?.enableTruncate,\n '!yt-focus-dark': isCellInDetailMode,\n [`h-[${minMaxHeight.min}px]`]: !isCellInDetailMode && columnMeta?.enableTruncate,\n // Only allow resizing when focused and truncation enabled\n 'focus:resize-y': isCurrentRow && columnMeta?.enableTruncate,\n })}\n ref={ref}\n value={String(value ?? '')}\n />\n </div>\n );\n})"
|
541766
541818
|
}
|
541767
541819
|
],
|
541768
541820
|
"groups": [
|
@@ -563084,7 +563136,7 @@
|
|
563084
563136
|
]
|
563085
563137
|
},
|
563086
563138
|
{
|
563087
|
-
"id":
|
563139
|
+
"id": 7134,
|
563088
563140
|
"name": "\"components/Tabs/Tabs.spec\"",
|
563089
563141
|
"kind": 1,
|
563090
563142
|
"kindString": "Module",
|
@@ -563094,7 +563146,7 @@
|
|
563094
563146
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Tabs/Tabs.spec.tsx"
|
563095
563147
|
},
|
563096
563148
|
{
|
563097
|
-
"id":
|
563149
|
+
"id": 7135,
|
563098
563150
|
"name": "\"components/Tabs/Tabs.stories\"",
|
563099
563151
|
"kind": 1,
|
563100
563152
|
"kindString": "Module",
|
@@ -563104,7 +563156,7 @@
|
|
563104
563156
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Tabs/Tabs.stories.tsx",
|
563105
563157
|
"children": [
|
563106
563158
|
{
|
563107
|
-
"id":
|
563159
|
+
"id": 7136,
|
563108
563160
|
"name": "Default",
|
563109
563161
|
"kind": 64,
|
563110
563162
|
"kindString": "Function",
|
@@ -563114,7 +563166,7 @@
|
|
563114
563166
|
},
|
563115
563167
|
"signatures": [
|
563116
563168
|
{
|
563117
|
-
"id":
|
563169
|
+
"id": 7137,
|
563118
563170
|
"name": "Default",
|
563119
563171
|
"kind": 4096,
|
563120
563172
|
"kindString": "Call signature",
|
@@ -563123,7 +563175,7 @@
|
|
563123
563175
|
},
|
563124
563176
|
"parameters": [
|
563125
563177
|
{
|
563126
|
-
"id":
|
563178
|
+
"id": 7138,
|
563127
563179
|
"name": "args",
|
563128
563180
|
"kind": 32768,
|
563129
563181
|
"kindString": "Parameter",
|
@@ -563145,7 +563197,7 @@
|
|
563145
563197
|
]
|
563146
563198
|
},
|
563147
563199
|
{
|
563148
|
-
"id":
|
563200
|
+
"id": 7139,
|
563149
563201
|
"name": "WithTooltips",
|
563150
563202
|
"kind": 64,
|
563151
563203
|
"kindString": "Function",
|
@@ -563155,7 +563207,7 @@
|
|
563155
563207
|
},
|
563156
563208
|
"signatures": [
|
563157
563209
|
{
|
563158
|
-
"id":
|
563210
|
+
"id": 7140,
|
563159
563211
|
"name": "WithTooltips",
|
563160
563212
|
"kind": 4096,
|
563161
563213
|
"kindString": "Call signature",
|
@@ -563164,7 +563216,7 @@
|
|
563164
563216
|
},
|
563165
563217
|
"parameters": [
|
563166
563218
|
{
|
563167
|
-
"id":
|
563219
|
+
"id": 7141,
|
563168
563220
|
"name": "args",
|
563169
563221
|
"kind": 32768,
|
563170
563222
|
"kindString": "Parameter",
|
@@ -563191,8 +563243,8 @@
|
|
563191
563243
|
"title": "Functions",
|
563192
563244
|
"kind": 64,
|
563193
563245
|
"children": [
|
563194
|
-
|
563195
|
-
|
563246
|
+
7136,
|
563247
|
+
7139
|
563196
563248
|
]
|
563197
563249
|
}
|
563198
563250
|
]
|
@@ -563728,7 +563780,7 @@
|
|
563728
563780
|
]
|
563729
563781
|
},
|
563730
563782
|
{
|
563731
|
-
"id":
|
563783
|
+
"id": 7142,
|
563732
563784
|
"name": "\"components/Tag/Tag.stories\"",
|
563733
563785
|
"kind": 1,
|
563734
563786
|
"kindString": "Module",
|
@@ -563738,7 +563790,7 @@
|
|
563738
563790
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Tag/Tag.stories.tsx",
|
563739
563791
|
"children": [
|
563740
563792
|
{
|
563741
|
-
"id":
|
563793
|
+
"id": 7147,
|
563742
563794
|
"name": "Action",
|
563743
563795
|
"kind": 64,
|
563744
563796
|
"kindString": "Function",
|
@@ -563748,7 +563800,7 @@
|
|
563748
563800
|
},
|
563749
563801
|
"signatures": [
|
563750
563802
|
{
|
563751
|
-
"id":
|
563803
|
+
"id": 7148,
|
563752
563804
|
"name": "Action",
|
563753
563805
|
"kind": 4096,
|
563754
563806
|
"kindString": "Call signature",
|
@@ -563763,7 +563815,7 @@
|
|
563763
563815
|
]
|
563764
563816
|
},
|
563765
563817
|
{
|
563766
|
-
"id":
|
563818
|
+
"id": 7145,
|
563767
563819
|
"name": "Coloured",
|
563768
563820
|
"kind": 64,
|
563769
563821
|
"kindString": "Function",
|
@@ -563773,7 +563825,7 @@
|
|
563773
563825
|
},
|
563774
563826
|
"signatures": [
|
563775
563827
|
{
|
563776
|
-
"id":
|
563828
|
+
"id": 7146,
|
563777
563829
|
"name": "Coloured",
|
563778
563830
|
"kind": 4096,
|
563779
563831
|
"kindString": "Call signature",
|
@@ -563788,7 +563840,7 @@
|
|
563788
563840
|
]
|
563789
563841
|
},
|
563790
563842
|
{
|
563791
|
-
"id":
|
563843
|
+
"id": 7143,
|
563792
563844
|
"name": "Default",
|
563793
563845
|
"kind": 64,
|
563794
563846
|
"kindString": "Function",
|
@@ -563798,7 +563850,7 @@
|
|
563798
563850
|
},
|
563799
563851
|
"signatures": [
|
563800
563852
|
{
|
563801
|
-
"id":
|
563853
|
+
"id": 7144,
|
563802
563854
|
"name": "Default",
|
563803
563855
|
"kind": 4096,
|
563804
563856
|
"kindString": "Call signature",
|
@@ -563813,7 +563865,7 @@
|
|
563813
563865
|
]
|
563814
563866
|
},
|
563815
563867
|
{
|
563816
|
-
"id":
|
563868
|
+
"id": 7149,
|
563817
563869
|
"name": "KitchenSink",
|
563818
563870
|
"kind": 64,
|
563819
563871
|
"kindString": "Function",
|
@@ -563823,7 +563875,7 @@
|
|
563823
563875
|
},
|
563824
563876
|
"signatures": [
|
563825
563877
|
{
|
563826
|
-
"id":
|
563878
|
+
"id": 7150,
|
563827
563879
|
"name": "KitchenSink",
|
563828
563880
|
"kind": 4096,
|
563829
563881
|
"kindString": "Call signature",
|
@@ -563843,10 +563895,10 @@
|
|
563843
563895
|
"title": "Functions",
|
563844
563896
|
"kind": 64,
|
563845
563897
|
"children": [
|
563898
|
+
7147,
|
563899
|
+
7145,
|
563846
563900
|
7143,
|
563847
|
-
|
563848
|
-
7139,
|
563849
|
-
7145
|
563901
|
+
7149
|
563850
563902
|
]
|
563851
563903
|
}
|
563852
563904
|
]
|
@@ -564162,7 +564214,7 @@
|
|
564162
564214
|
]
|
564163
564215
|
},
|
564164
564216
|
{
|
564165
|
-
"id":
|
564217
|
+
"id": 7151,
|
564166
564218
|
"name": "\"components/Textarea/Textarea.spec\"",
|
564167
564219
|
"kind": 1,
|
564168
564220
|
"kindString": "Module",
|
@@ -564172,7 +564224,7 @@
|
|
564172
564224
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Textarea/Textarea.spec.tsx"
|
564173
564225
|
},
|
564174
564226
|
{
|
564175
|
-
"id":
|
564227
|
+
"id": 7152,
|
564176
564228
|
"name": "\"components/Textarea/Textarea.stories\"",
|
564177
564229
|
"kind": 1,
|
564178
564230
|
"kindString": "Module",
|
@@ -564182,7 +564234,7 @@
|
|
564182
564234
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Textarea/Textarea.stories.tsx",
|
564183
564235
|
"children": [
|
564184
564236
|
{
|
564185
|
-
"id":
|
564237
|
+
"id": 7153,
|
564186
564238
|
"name": "Default",
|
564187
564239
|
"kind": 64,
|
564188
564240
|
"kindString": "Function",
|
@@ -564192,7 +564244,7 @@
|
|
564192
564244
|
},
|
564193
564245
|
"signatures": [
|
564194
564246
|
{
|
564195
|
-
"id":
|
564247
|
+
"id": 7154,
|
564196
564248
|
"name": "Default",
|
564197
564249
|
"kind": 4096,
|
564198
564250
|
"kindString": "Call signature",
|
@@ -564201,7 +564253,7 @@
|
|
564201
564253
|
},
|
564202
564254
|
"parameters": [
|
564203
564255
|
{
|
564204
|
-
"id":
|
564256
|
+
"id": 7155,
|
564205
564257
|
"name": "args",
|
564206
564258
|
"kind": 32768,
|
564207
564259
|
"kindString": "Parameter",
|
@@ -564222,7 +564274,7 @@
|
|
564222
564274
|
]
|
564223
564275
|
},
|
564224
564276
|
{
|
564225
|
-
"id":
|
564277
|
+
"id": 7156,
|
564226
564278
|
"name": "KitchenSink",
|
564227
564279
|
"kind": 64,
|
564228
564280
|
"kindString": "Function",
|
@@ -564232,7 +564284,7 @@
|
|
564232
564284
|
},
|
564233
564285
|
"signatures": [
|
564234
564286
|
{
|
564235
|
-
"id":
|
564287
|
+
"id": 7157,
|
564236
564288
|
"name": "KitchenSink",
|
564237
564289
|
"kind": 4096,
|
564238
564290
|
"kindString": "Call signature",
|
@@ -564252,8 +564304,8 @@
|
|
564252
564304
|
"title": "Functions",
|
564253
564305
|
"kind": 64,
|
564254
564306
|
"children": [
|
564255
|
-
|
564256
|
-
|
564307
|
+
7153,
|
564308
|
+
7156
|
564257
564309
|
]
|
564258
564310
|
}
|
564259
564311
|
]
|
@@ -564817,7 +564869,7 @@
|
|
564817
564869
|
]
|
564818
564870
|
},
|
564819
564871
|
{
|
564820
|
-
"id":
|
564872
|
+
"id": 7158,
|
564821
564873
|
"name": "\"components/Toast/Toast.spec\"",
|
564822
564874
|
"kind": 1,
|
564823
564875
|
"kindString": "Module",
|
@@ -564827,7 +564879,7 @@
|
|
564827
564879
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Toast/Toast.spec.tsx"
|
564828
564880
|
},
|
564829
564881
|
{
|
564830
|
-
"id":
|
564882
|
+
"id": 7159,
|
564831
564883
|
"name": "\"components/Toast/Toast.stories\"",
|
564832
564884
|
"kind": 1,
|
564833
564885
|
"kindString": "Module",
|
@@ -564837,7 +564889,7 @@
|
|
564837
564889
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Toast/Toast.stories.tsx",
|
564838
564890
|
"children": [
|
564839
564891
|
{
|
564840
|
-
"id":
|
564892
|
+
"id": 7166,
|
564841
564893
|
"name": "ProgrammaticallyCloseToast",
|
564842
564894
|
"kind": 64,
|
564843
564895
|
"kindString": "Function",
|
@@ -564847,7 +564899,7 @@
|
|
564847
564899
|
},
|
564848
564900
|
"signatures": [
|
564849
564901
|
{
|
564850
|
-
"id":
|
564902
|
+
"id": 7167,
|
564851
564903
|
"name": "ProgrammaticallyCloseToast",
|
564852
564904
|
"kind": 4096,
|
564853
564905
|
"kindString": "Call signature",
|
@@ -564856,7 +564908,7 @@
|
|
564856
564908
|
},
|
564857
564909
|
"parameters": [
|
564858
564910
|
{
|
564859
|
-
"id":
|
564911
|
+
"id": 7168,
|
564860
564912
|
"name": "args",
|
564861
564913
|
"kind": 32768,
|
564862
564914
|
"kindString": "Parameter",
|
@@ -564877,7 +564929,7 @@
|
|
564877
564929
|
]
|
564878
564930
|
},
|
564879
564931
|
{
|
564880
|
-
"id":
|
564932
|
+
"id": 7160,
|
564881
564933
|
"name": "ToastStates",
|
564882
564934
|
"kind": 64,
|
564883
564935
|
"kindString": "Function",
|
@@ -564887,7 +564939,7 @@
|
|
564887
564939
|
},
|
564888
564940
|
"signatures": [
|
564889
564941
|
{
|
564890
|
-
"id":
|
564942
|
+
"id": 7161,
|
564891
564943
|
"name": "ToastStates",
|
564892
564944
|
"kind": 4096,
|
564893
564945
|
"kindString": "Call signature",
|
@@ -564896,7 +564948,7 @@
|
|
564896
564948
|
},
|
564897
564949
|
"parameters": [
|
564898
564950
|
{
|
564899
|
-
"id":
|
564951
|
+
"id": 7162,
|
564900
564952
|
"name": "args",
|
564901
564953
|
"kind": 32768,
|
564902
564954
|
"kindString": "Parameter",
|
@@ -564917,7 +564969,7 @@
|
|
564917
564969
|
]
|
564918
564970
|
},
|
564919
564971
|
{
|
564920
|
-
"id":
|
564972
|
+
"id": 7163,
|
564921
564973
|
"name": "UpdatingToast",
|
564922
564974
|
"kind": 64,
|
564923
564975
|
"kindString": "Function",
|
@@ -564927,7 +564979,7 @@
|
|
564927
564979
|
},
|
564928
564980
|
"signatures": [
|
564929
564981
|
{
|
564930
|
-
"id":
|
564982
|
+
"id": 7164,
|
564931
564983
|
"name": "UpdatingToast",
|
564932
564984
|
"kind": 4096,
|
564933
564985
|
"kindString": "Call signature",
|
@@ -564936,7 +564988,7 @@
|
|
564936
564988
|
},
|
564937
564989
|
"parameters": [
|
564938
564990
|
{
|
564939
|
-
"id":
|
564991
|
+
"id": 7165,
|
564940
564992
|
"name": "args",
|
564941
564993
|
"kind": 32768,
|
564942
564994
|
"kindString": "Parameter",
|
@@ -564962,9 +565014,9 @@
|
|
564962
565014
|
"title": "Functions",
|
564963
565015
|
"kind": 64,
|
564964
565016
|
"children": [
|
564965
|
-
|
564966
|
-
|
564967
|
-
|
565017
|
+
7166,
|
565018
|
+
7160,
|
565019
|
+
7163
|
564968
565020
|
]
|
564969
565021
|
}
|
564970
565022
|
]
|
@@ -566165,7 +566217,7 @@
|
|
566165
566217
|
]
|
566166
566218
|
},
|
566167
566219
|
{
|
566168
|
-
"id":
|
566220
|
+
"id": 7169,
|
566169
566221
|
"name": "\"components/Tooltip/Tooltip.spec\"",
|
566170
566222
|
"kind": 1,
|
566171
566223
|
"kindString": "Module",
|
@@ -566175,7 +566227,7 @@
|
|
566175
566227
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Tooltip/Tooltip.spec.tsx"
|
566176
566228
|
},
|
566177
566229
|
{
|
566178
|
-
"id":
|
566230
|
+
"id": 7170,
|
566179
566231
|
"name": "\"components/Tooltip/Tooltip.stories\"",
|
566180
566232
|
"kind": 1,
|
566181
566233
|
"kindString": "Module",
|
@@ -566185,7 +566237,7 @@
|
|
566185
566237
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Tooltip/Tooltip.stories.tsx",
|
566186
566238
|
"children": [
|
566187
566239
|
{
|
566188
|
-
"id":
|
566240
|
+
"id": 7171,
|
566189
566241
|
"name": "Default",
|
566190
566242
|
"kind": 64,
|
566191
566243
|
"kindString": "Function",
|
@@ -566195,7 +566247,7 @@
|
|
566195
566247
|
},
|
566196
566248
|
"signatures": [
|
566197
566249
|
{
|
566198
|
-
"id":
|
566250
|
+
"id": 7172,
|
566199
566251
|
"name": "Default",
|
566200
566252
|
"kind": 4096,
|
566201
566253
|
"kindString": "Call signature",
|
@@ -566204,7 +566256,7 @@
|
|
566204
566256
|
},
|
566205
566257
|
"parameters": [
|
566206
566258
|
{
|
566207
|
-
"id":
|
566259
|
+
"id": 7173,
|
566208
566260
|
"name": "args",
|
566209
566261
|
"kind": 32768,
|
566210
566262
|
"kindString": "Parameter",
|
@@ -566226,7 +566278,7 @@
|
|
566226
566278
|
]
|
566227
566279
|
},
|
566228
566280
|
{
|
566229
|
-
"id":
|
566281
|
+
"id": 7174,
|
566230
566282
|
"name": "TooltipOnElement",
|
566231
566283
|
"kind": 64,
|
566232
566284
|
"kindString": "Function",
|
@@ -566236,7 +566288,7 @@
|
|
566236
566288
|
},
|
566237
566289
|
"signatures": [
|
566238
566290
|
{
|
566239
|
-
"id":
|
566291
|
+
"id": 7175,
|
566240
566292
|
"name": "TooltipOnElement",
|
566241
566293
|
"kind": 4096,
|
566242
566294
|
"kindString": "Call signature",
|
@@ -566251,7 +566303,7 @@
|
|
566251
566303
|
]
|
566252
566304
|
},
|
566253
566305
|
{
|
566254
|
-
"id":
|
566306
|
+
"id": 7176,
|
566255
566307
|
"name": "TooltipWithLongText",
|
566256
566308
|
"kind": 64,
|
566257
566309
|
"kindString": "Function",
|
@@ -566261,7 +566313,7 @@
|
|
566261
566313
|
},
|
566262
566314
|
"signatures": [
|
566263
566315
|
{
|
566264
|
-
"id":
|
566316
|
+
"id": 7177,
|
566265
566317
|
"name": "TooltipWithLongText",
|
566266
566318
|
"kind": 4096,
|
566267
566319
|
"kindString": "Call signature",
|
@@ -566281,9 +566333,9 @@
|
|
566281
566333
|
"title": "Functions",
|
566282
566334
|
"kind": 64,
|
566283
566335
|
"children": [
|
566284
|
-
|
566285
|
-
|
566286
|
-
|
566336
|
+
7171,
|
566337
|
+
7174,
|
566338
|
+
7176
|
566287
566339
|
]
|
566288
566340
|
}
|
566289
566341
|
]
|
@@ -567097,7 +567149,7 @@
|
|
567097
567149
|
]
|
567098
567150
|
},
|
567099
567151
|
{
|
567100
|
-
"id":
|
567152
|
+
"id": 7178,
|
567101
567153
|
"name": "\"components/Tour/Tour.stories\"",
|
567102
567154
|
"kind": 1,
|
567103
567155
|
"kindString": "Module",
|
@@ -567107,7 +567159,7 @@
|
|
567107
567159
|
"originalName": "/home/runner/work/taco/taco/packages/taco/src/components/Tour/Tour.stories.tsx",
|
567108
567160
|
"children": [
|
567109
567161
|
{
|
567110
|
-
"id":
|
567162
|
+
"id": 7179,
|
567111
567163
|
"name": "Default",
|
567112
567164
|
"kind": 64,
|
567113
567165
|
"kindString": "Function",
|
@@ -567117,7 +567169,7 @@
|
|
567117
567169
|
},
|
567118
567170
|
"signatures": [
|
567119
567171
|
{
|
567120
|
-
"id":
|
567172
|
+
"id": 7180,
|
567121
567173
|
"name": "Default",
|
567122
567174
|
"kind": 4096,
|
567123
567175
|
"kindString": "Call signature",
|
@@ -567132,7 +567184,7 @@
|
|
567132
567184
|
]
|
567133
567185
|
},
|
567134
567186
|
{
|
567135
|
-
"id":
|
567187
|
+
"id": 7181,
|
567136
567188
|
"name": "IntermittentFlow",
|
567137
567189
|
"kind": 64,
|
567138
567190
|
"kindString": "Function",
|
@@ -567142,7 +567194,7 @@
|
|
567142
567194
|
},
|
567143
567195
|
"signatures": [
|
567144
567196
|
{
|
567145
|
-
"id":
|
567197
|
+
"id": 7182,
|
567146
567198
|
"name": "IntermittentFlow",
|
567147
567199
|
"kind": 4096,
|
567148
567200
|
"kindString": "Call signature",
|
@@ -567162,8 +567214,8 @@
|
|
567162
567214
|
"title": "Functions",
|
567163
567215
|
"kind": 64,
|
567164
567216
|
"children": [
|
567165
|
-
|
567166
|
-
|
567217
|
+
7179,
|
567218
|
+
7181
|
567167
567219
|
]
|
567168
567220
|
}
|
567169
567221
|
]
|
@@ -568851,23 +568903,23 @@
|
|
568851
568903
|
5416,
|
568852
568904
|
5257,
|
568853
568905
|
5995,
|
568854
|
-
|
568855
|
-
|
568906
|
+
7134,
|
568907
|
+
7135,
|
568856
568908
|
3292,
|
568857
|
-
|
568909
|
+
7142,
|
568858
568910
|
5430,
|
568859
|
-
|
568860
|
-
|
568911
|
+
7151,
|
568912
|
+
7152,
|
568861
568913
|
1796,
|
568862
|
-
|
568863
|
-
|
568914
|
+
7158,
|
568915
|
+
7159,
|
568864
568916
|
4941,
|
568865
568917
|
1789,
|
568866
568918
|
637,
|
568867
|
-
|
568868
|
-
|
568919
|
+
7169,
|
568920
|
+
7170,
|
568869
568921
|
2056,
|
568870
|
-
|
568922
|
+
7178,
|
568871
568923
|
4885,
|
568872
568924
|
3224,
|
568873
568925
|
623,
|