@trackunit/react-components 0.0.79 → 0.0.80-alpha-978fbf7c0.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/index.js +22 -22
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -2451,7 +2451,7 @@ const FormGroup = ({
|
|
|
2451
2451
|
}));
|
|
2452
2452
|
};
|
|
2453
2453
|
const FormGroupRoot = tw.label`
|
|
2454
|
-
tu-
|
|
2454
|
+
tu-form-group
|
|
2455
2455
|
`; // TODO: Update and use Label component instead
|
|
2456
2456
|
|
|
2457
2457
|
const StyledTitle = tw.span`
|
|
@@ -2462,16 +2462,16 @@ const StyledTitle = tw.span`
|
|
|
2462
2462
|
mb-1
|
|
2463
2463
|
`;
|
|
2464
2464
|
const ContainerBefore = tw.div`
|
|
2465
|
-
tu-
|
|
2465
|
+
tu-form-group__container-before
|
|
2466
2466
|
`;
|
|
2467
2467
|
const ContainerAfter = tw.div`
|
|
2468
|
-
tu-
|
|
2468
|
+
tu-form-group__container-after
|
|
2469
2469
|
${({
|
|
2470
2470
|
$isInvalid
|
|
2471
|
-
}) => $isInvalid ? tws`tu-
|
|
2471
|
+
}) => $isInvalid ? tws`tu-form-group__container-after--invalid` : null}
|
|
2472
2472
|
`;
|
|
2473
2473
|
const HelpAddon = tw.span`
|
|
2474
|
-
tu-
|
|
2474
|
+
tu-form-group__help-addon
|
|
2475
2475
|
`;
|
|
2476
2476
|
|
|
2477
2477
|
/**
|
|
@@ -2741,16 +2741,16 @@ const MenuItem = ({
|
|
|
2741
2741
|
}));
|
|
2742
2742
|
};
|
|
2743
2743
|
const Container$2 = tw.div`
|
|
2744
|
-
group tu-
|
|
2744
|
+
group tu-menu-item
|
|
2745
2745
|
`;
|
|
2746
2746
|
const Content = tw.div`
|
|
2747
|
-
tu-
|
|
2747
|
+
tu-menu-item__content
|
|
2748
2748
|
`;
|
|
2749
2749
|
const Icon = tw.div`
|
|
2750
|
-
tu-
|
|
2750
|
+
tu-menu-item__icon
|
|
2751
2751
|
`;
|
|
2752
2752
|
const Label$1 = tw.div`
|
|
2753
|
-
tu-
|
|
2753
|
+
tu-menu-item__label
|
|
2754
2754
|
`;
|
|
2755
2755
|
|
|
2756
2756
|
/**
|
|
@@ -2788,13 +2788,13 @@ const MenuList = _a => {
|
|
|
2788
2788
|
});
|
|
2789
2789
|
};
|
|
2790
2790
|
const Wrapper = tw.div`
|
|
2791
|
-
tu-
|
|
2791
|
+
tu-menu-list__wrapper
|
|
2792
2792
|
`;
|
|
2793
2793
|
const Container$1 = tw.div`
|
|
2794
|
-
tu-
|
|
2794
|
+
tu-menu-list
|
|
2795
2795
|
`;
|
|
2796
2796
|
const Divider = tw.div`
|
|
2797
|
-
tu-
|
|
2797
|
+
tu-menu-list__divider
|
|
2798
2798
|
`;
|
|
2799
2799
|
|
|
2800
2800
|
/**
|
|
@@ -2846,7 +2846,7 @@ const ModalBackdrop = ({
|
|
|
2846
2846
|
});
|
|
2847
2847
|
};
|
|
2848
2848
|
const Backdrop = tw(animated.div)`
|
|
2849
|
-
tu-modal
|
|
2849
|
+
tu-modal-backdrop
|
|
2850
2850
|
`;
|
|
2851
2851
|
|
|
2852
2852
|
/** Preferred usage is with useModal(), so the modal is placed at highest level. */
|
|
@@ -2904,10 +2904,10 @@ const getCardMaxWidth = () => ({
|
|
|
2904
2904
|
}) => {
|
|
2905
2905
|
maxWidth = maxWidth ? maxWidth : "full";
|
|
2906
2906
|
const widths = {
|
|
2907
|
-
slim: tws`tu-
|
|
2908
|
-
narrow: tws`tu-
|
|
2909
|
-
wide: tws`tu-
|
|
2910
|
-
normal: tws`tu-
|
|
2907
|
+
slim: tws`tu-modal__card--slim`,
|
|
2908
|
+
narrow: tws`tu-modal__card--narrow`,
|
|
2909
|
+
wide: tws`tu-modal__card--wide`,
|
|
2910
|
+
normal: tws`tu-modal__card--normal`,
|
|
2911
2911
|
full: ""
|
|
2912
2912
|
};
|
|
2913
2913
|
return widths[maxWidth];
|
|
@@ -3569,10 +3569,10 @@ const RadioItem = ({
|
|
|
3569
3569
|
}));
|
|
3570
3570
|
};
|
|
3571
3571
|
const CustomFlex = tw.div`
|
|
3572
|
-
tu-
|
|
3572
|
+
tu-radioitem__custom-flex
|
|
3573
3573
|
`;
|
|
3574
3574
|
const InputWrapper = tw.div`
|
|
3575
|
-
tu-
|
|
3575
|
+
tu-radioitem__wrapper
|
|
3576
3576
|
`;
|
|
3577
3577
|
const Input = tw.input`
|
|
3578
3578
|
tu-radioitem
|
|
@@ -3959,8 +3959,8 @@ const getSizeModifierClass = () => ({
|
|
|
3959
3959
|
$withXIcon
|
|
3960
3960
|
}) => {
|
|
3961
3961
|
const tagSizeModifierClass = {
|
|
3962
|
-
default: $withXIcon ? tws`tu-tag--
|
|
3963
|
-
small: $withXIcon ? tws`tu-tag--small tu-tag--
|
|
3962
|
+
default: $withXIcon ? tws`tu-tag--with-icon ` : tws` `,
|
|
3963
|
+
small: $withXIcon ? tws`tu-tag--small tu-tag--with-icon` : tws`tu-tag--small`
|
|
3964
3964
|
};
|
|
3965
3965
|
return tagSizeModifierClass[$size];
|
|
3966
3966
|
};
|
|
@@ -4252,7 +4252,7 @@ const TimelineElement = ({
|
|
|
4252
4252
|
"data-testid": `${dataTestId}`
|
|
4253
4253
|
}, {
|
|
4254
4254
|
children: [jsx("div", Object.assign({
|
|
4255
|
-
className: tws`tu-timeline-
|
|
4255
|
+
className: tws`tu-timeline-element__dot`
|
|
4256
4256
|
}, {
|
|
4257
4257
|
children: dot
|
|
4258
4258
|
})), jsx("div", {
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.80-alpha-978fbf7c0.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@trackunit/css-core": "0.0.
|
|
8
|
-
"@trackunit/tailwind-styled-components": "0.0.
|
|
7
|
+
"@trackunit/css-core": "0.0.46-alpha-978fbf7c0.0",
|
|
8
|
+
"@trackunit/tailwind-styled-components": "0.0.41-alpha-978fbf7c0.0",
|
|
9
9
|
"react": "17.0.1",
|
|
10
|
-
"@trackunit/ui-design-tokens": "0.0.
|
|
10
|
+
"@trackunit/ui-design-tokens": "0.0.40-alpha-978fbf7c0.0",
|
|
11
11
|
"echarts-for-react": "^3.0.2",
|
|
12
12
|
"uuid": "^8.3.2",
|
|
13
13
|
"@react-spring/web": "^9.4.5",
|
|
14
14
|
"react-use": "^17.3.2",
|
|
15
15
|
"react-day-picker": "^8.0.3",
|
|
16
16
|
"date-fns": "^2.28.0",
|
|
17
|
-
"@trackunit/ui-icons": "0.0.
|
|
17
|
+
"@trackunit/ui-icons": "0.0.42-alpha-978fbf7c0.0",
|
|
18
18
|
"react-useportal": "^1.0.16",
|
|
19
19
|
"react-helmet": "^6.1.0",
|
|
20
20
|
"@popperjs/core": "^2.11.4",
|