@economic/taco 0.0.6-alpha.0 → 0.0.7-alpha.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/dist/components/Button/Button.d.ts +5 -0
- package/dist/components/Dialog/Context.d.ts +2 -0
- package/dist/components/Dialog/Dialog.d.ts +6 -2
- package/dist/components/Dialog/components/Content.d.ts +9 -8
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Button/util.js +7 -1
- package/dist/esm/components/Button/util.js.map +1 -1
- package/dist/esm/components/Dialog/Context.js +2 -0
- package/dist/esm/components/Dialog/Context.js.map +1 -1
- package/dist/esm/components/Dialog/Dialog.js +8 -2
- package/dist/esm/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/components/Dialog/components/Content.js +20 -10
- package/dist/esm/components/Dialog/components/Content.js.map +1 -1
- package/dist/esm/components/Dialog/components/Drawer.js +3 -1
- package/dist/esm/components/Dialog/components/Drawer.js.map +1 -1
- package/dist/esm/components/Dialog/components/Extra.js +3 -1
- package/dist/esm/components/Dialog/components/Extra.js.map +1 -1
- package/dist/esm/components/Menu/Menu.js +1 -1
- package/dist/esm/components/Menu/components/Content.js +2 -2
- package/dist/esm/components/Menu/components/Header.js +1 -1
- package/dist/esm/components/Menu/components/Item.js +1 -1
- package/dist/esm/components/Menu/components/Separator.js +1 -1
- package/dist/esm/components/Menu/components/Trigger.js +2 -2
- package/dist/esm/components/Pagination/Pagination.js +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js +3 -3
- package/dist/esm/components/Table/hooks/plugins/useRowActions.js +1 -1
- package/dist/esm/components/Tour/Tour.js +1 -1
- package/dist/esm/index.css +8 -8
- package/dist/esm/index.js +3 -3
- package/dist/index.css +8 -8
- package/dist/taco.cjs.development.js +2446 -2420
- 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 +612 -458
@@ -1,7 +1,7 @@
|
|
1
1
|
import { createElement } from 'react';
|
2
2
|
import cn from 'classnames';
|
3
|
-
import { useCurrentMenu } from '../Context.js';
|
4
3
|
import { Separator as Separator$1 } from '@radix-ui/react-dropdown-menu';
|
4
|
+
import { useCurrentMenu } from '../Context.js';
|
5
5
|
|
6
6
|
var getAppearanceClasses = function getAppearanceClasses(appearance) {
|
7
7
|
switch (appearance) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { forwardRef, useEffect, createElement } from 'react';
|
2
|
-
import { useProxiedRef } from '../../../utils/hooks/useProxiedRef.js';
|
3
|
-
import { useCurrentMenu } from '../Context.js';
|
4
2
|
import { Trigger as Trigger$1 } from '@radix-ui/react-dropdown-menu';
|
3
|
+
import { useCurrentMenu } from '../Context.js';
|
4
|
+
import { useProxiedRef } from '../../../utils/hooks/useProxiedRef.js';
|
5
5
|
|
6
6
|
var Trigger = /*#__PURE__*/forwardRef(function MenuTrigger(props, ref) {
|
7
7
|
var _props$children3, _props$children3$prop;
|
@@ -2,8 +2,8 @@ import { objectWithoutPropertiesLoose as _objectWithoutPropertiesLoose } from '.
|
|
2
2
|
import { forwardRef, createElement } from 'react';
|
3
3
|
import cn from 'classnames';
|
4
4
|
import { useLocalization } from '../Provider/Provider.js';
|
5
|
-
import { Group } from '../Group/Group.js';
|
6
5
|
import { IconButton } from '../IconButton/IconButton.js';
|
6
|
+
import { Group } from '../Group/Group.js';
|
7
7
|
import { PageNumbers } from './PageNumbers.js';
|
8
8
|
import { Select } from '../Select/Select.js';
|
9
9
|
import { usePaginationShortcuts } from './usePaginationShortcuts.js';
|
@@ -11,7 +11,8 @@ import '../Spinner/Spinner.js';
|
|
11
11
|
import '../Toast/Toaster.js';
|
12
12
|
import { useLocalization } from '../Provider/Provider.js';
|
13
13
|
import '../Hanger/Hanger.js';
|
14
|
-
import '../
|
14
|
+
import '../RadioGroup/RadioGroup.js';
|
15
|
+
import '../Menu/Menu.js';
|
15
16
|
import '../Dialog/Dialog.js';
|
16
17
|
import '../Popover/Popover.js';
|
17
18
|
import { IconButton } from '../IconButton/IconButton.js';
|
@@ -27,10 +28,9 @@ import '../Combobox/Combobox.js';
|
|
27
28
|
import '../../utils/date.js';
|
28
29
|
import '../Datepicker/Datepicker.js';
|
29
30
|
import '../Form/Form.js';
|
31
|
+
import '../Group/Group.js';
|
30
32
|
import '../Label/Label.js';
|
31
33
|
import '../Listbox/Listbox.js';
|
32
|
-
import '../RadioGroup/RadioGroup.js';
|
33
|
-
import '../Menu/Menu.js';
|
34
34
|
import '../Treeview/Treeview.js';
|
35
35
|
import '../Navigation/Navigation.js';
|
36
36
|
import '../Select/Select.js';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React__default from 'react';
|
2
|
+
import { Menu } from '../../../Menu/Menu.js';
|
2
3
|
import { IconButton } from '../../../IconButton/IconButton.js';
|
3
4
|
import keycode from 'keycode';
|
4
|
-
import { Menu } from '../../../Menu/Menu.js';
|
5
5
|
import { sanitizeRowProps } from '../../util.js';
|
6
6
|
import { InView } from 'react-intersection-observer';
|
7
7
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { objectWithoutPropertiesLoose as _objectWithoutPropertiesLoose } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
2
2
|
import { useMemo, Children, useCallback, createElement, useRef, useEffect } from 'react';
|
3
3
|
import { useLocalization } from '../Provider/Provider.js';
|
4
|
-
import { Group } from '../Group/Group.js';
|
5
4
|
import { IconButton } from '../IconButton/IconButton.js';
|
6
5
|
import { Button } from '../Button/Button.js';
|
7
6
|
import keycode from 'keycode';
|
7
|
+
import { Group } from '../Group/Group.js';
|
8
8
|
import Joyride, { ACTIONS, LIFECYCLE, EVENTS } from 'react-joyride';
|
9
9
|
|
10
10
|
var _excluded = ["autoStart", "onComplete", "onClose", "onReady", "spotlightClicks", "disableCloseOnEsc", "disableScrollParentFix"];
|
package/dist/esm/index.css
CHANGED
@@ -255,14 +255,6 @@
|
|
255
255
|
@apply mb-0;
|
256
256
|
}
|
257
257
|
|
258
|
-
[data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
|
259
|
-
@apply ml-1;
|
260
|
-
}
|
261
|
-
|
262
|
-
[data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
|
263
|
-
@apply ml-2;
|
264
|
-
}
|
265
|
-
|
266
258
|
[data-taco='button'] > [data-taco='icon'] {
|
267
259
|
@apply pointer-events-none -ml-2 mr-1 -mt-2 -mb-2 inline p-px;
|
268
260
|
}
|
@@ -429,6 +421,14 @@
|
|
429
421
|
@apply mt-6;
|
430
422
|
}
|
431
423
|
|
424
|
+
[data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
|
425
|
+
@apply ml-1;
|
426
|
+
}
|
427
|
+
|
428
|
+
[data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
|
429
|
+
@apply ml-2;
|
430
|
+
}
|
431
|
+
|
432
432
|
/* label inside label is invalid html, but the client is littered with it */
|
433
433
|
[data-taco='label'] [data-taco='label'] {
|
434
434
|
min-height: 0;
|
package/dist/esm/index.js
CHANGED
@@ -9,7 +9,8 @@ export { Spinner } from './components/Spinner/Spinner.js';
|
|
9
9
|
export { ToastProvider, useToast } from './components/Toast/Toaster.js';
|
10
10
|
export { Provider, defaultLocalisationTexts, useLocalization, useTaco } from './components/Provider/Provider.js';
|
11
11
|
export { Hanger } from './components/Hanger/Hanger.js';
|
12
|
-
export {
|
12
|
+
export { RadioGroup, findByValue, getRadioGroupItemValueAsString, useRadioGroup } from './components/RadioGroup/RadioGroup.js';
|
13
|
+
export { Menu } from './components/Menu/Menu.js';
|
13
14
|
export { Dialog } from './components/Dialog/Dialog.js';
|
14
15
|
export { Popover } from './components/Popover/Popover.js';
|
15
16
|
export { IconButton } from './components/IconButton/IconButton.js';
|
@@ -24,11 +25,10 @@ export { Combobox } from './components/Combobox/Combobox.js';
|
|
24
25
|
export { format, parseFromCustomString, parseFromISOString } from './utils/date.js';
|
25
26
|
export { Datepicker } from './components/Datepicker/Datepicker.js';
|
26
27
|
export { Form } from './components/Form/Form.js';
|
28
|
+
export { Group } from './components/Group/Group.js';
|
27
29
|
export { SearchInput } from './components/SearchInput/SearchInput.js';
|
28
30
|
export { Label } from './components/Label/Label.js';
|
29
31
|
export { Listbox, MultiListbox } from './components/Listbox/Listbox.js';
|
30
|
-
export { RadioGroup, findByValue, getRadioGroupItemValueAsString, useRadioGroup } from './components/RadioGroup/RadioGroup.js';
|
31
|
-
export { Menu } from './components/Menu/Menu.js';
|
32
32
|
export { Treeview } from './components/Treeview/Treeview.js';
|
33
33
|
export { Navigation } from './components/Navigation/Navigation.js';
|
34
34
|
export { Select } from './components/Select/Select.js';
|
package/dist/index.css
CHANGED
@@ -255,14 +255,6 @@
|
|
255
255
|
@apply mb-0;
|
256
256
|
}
|
257
257
|
|
258
|
-
[data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
|
259
|
-
@apply ml-1;
|
260
|
-
}
|
261
|
-
|
262
|
-
[data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
|
263
|
-
@apply ml-2;
|
264
|
-
}
|
265
|
-
|
266
258
|
[data-taco='button'] > [data-taco='icon'] {
|
267
259
|
@apply pointer-events-none -ml-2 mr-1 -mt-2 -mb-2 inline p-px;
|
268
260
|
}
|
@@ -429,6 +421,14 @@
|
|
429
421
|
@apply mt-6;
|
430
422
|
}
|
431
423
|
|
424
|
+
[data-taco='group'] > [data-taco='badge'] + [data-taco='badge'] {
|
425
|
+
@apply ml-1;
|
426
|
+
}
|
427
|
+
|
428
|
+
[data-taco='group'] > *:not(:first-child):not([data-taco='hanger']) {
|
429
|
+
@apply ml-2;
|
430
|
+
}
|
431
|
+
|
432
432
|
/* label inside label is invalid html, but the client is littered with it */
|
433
433
|
[data-taco='label'] [data-taco='label'] {
|
434
434
|
min-height: 0;
|