Skip to content

Commit 71b7ec9

Browse files
author
Hector Arce De Las Heras
committed
Update exports for styles and components
Update exports for styles and components adding new components
1 parent ffa4097 commit 71b7ec9

File tree

7 files changed

+30
-24
lines changed

7 files changed

+30
-24
lines changed

src/components/index.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export * from './link';
1111
export * from './pill';
1212
export * from './popover';
1313
export * from './tag';
14+
export * from './tagV2';
1415
export * from './text';
1516
export * from './toggle';
1617
export * from './icon';
@@ -25,6 +26,7 @@ export * from './skeleton';
2526
export * from './overlay';
2627
export * from './lineSeparator';
2728
export * from './option';
29+
export * from './slider';
2830
export * from './illustration';
2931
export * from './elementOrIllustration';
3032
export * from './mediaProgressBar';
@@ -33,6 +35,7 @@ export * from './inputStructure';
3335
export * from './accordion';
3436
export * from './avatar';
3537
export * from './backToTop';
38+
export * from './badge';
3639
export * from './breadcrumbs';
3740
export * from './checkboxWithLabel';
3841
export * from './drawer';
@@ -45,6 +48,7 @@ export * from './pillSelector';
4548
export * from './tabs';
4649
export * from './snackbar';
4750
export * from './stepperNumber';
51+
export * from './stepperProgress';
4852
export * from './textArea';
4953
export * from './toggleWithLabel';
5054
export * from './summaryDetails';
@@ -65,9 +69,12 @@ export * from './pageControlAutomate';
6569
export * from './confirmationMessage';
6670
export * from './calendar';
6771
export * from './actionBottomSheet';
72+
export * from './navigationRow';
6873
export * from './carousel';
74+
export * from './selectorBoxFile';
6975
export * from './header';
7076
export * from './iconHighlighted';
77+
export * from './pagination';
7178
export * from './headerStructure';
7279
export * from './radioButtonGroup';
7380
export * from './functionalitiesModule';
@@ -79,9 +86,4 @@ export * from './screenReaderOnly';
7986
export * from './textCount';
8087
export * from './dropdownSelected';
8188
export * from './portal';
82-
export * from './tagV2';
83-
export * from './selectorBoxFile';
84-
export * from './stepperProgress';
85-
export * from './badge';
86-
export * from './slider';
87-
export * from './pagination';
89+
export * from './inputSignature';

src/constants/stylesName.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ export const STYLES_NAME = {
2727
OVERLAY: 'OVERLAY_STYLES',
2828
PILL: 'PILL_STYLES',
2929
POPOVER: 'POPOVER_STYLES',
30+
QUICKBUTTON: 'QUICKBUTTON_STYLES',
3031
SKELETON: 'SKELETON_STYLES',
3132
SLIDER: 'SLIDER_STYLES',
3233
TABLE: 'TABLE_STYLES',
3334
TAG: 'TAG_STYLES',
35+
TAG_V2: 'TAG_STYLES_V2',
3436
TEXT: 'TEXT_STYLES',
3537
TEXT_COUNT: 'TEXT_COUNT_STYLES',
3638
THIRD_PARTY_ANIMATION: 'THIRD_PARTY_ANIMATION_STYLES',
@@ -103,6 +105,5 @@ export const STYLES_NAME = {
103105
LAYOUT: 'LAYOUT_STYLES',
104106
VIDEO: 'VIDEO_STYLES',
105107
DROPDOWN_SELECTED: 'DROPDOWN_SELECTED_STYLES',
106-
TAG_V2: 'TAG_STYLES_V2',
107108
INPUT_SIGNATURE: 'INPUT_SIGNATURE_STYLES',
108109
};

src/designSystem/kubit/components/styles.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export * from './option/styles';
99
export * from './overlay/styles';
1010
export * from './popover/styles';
1111
export * from './tag/styles';
12+
export * from './tagV2/styles';
1213
export * from './text/styles';
1314
export * from './actionBottomSheet/styles';
1415
export * from './backToTop/styles';
@@ -45,9 +46,11 @@ export * from './dot/styles';
4546
export * from './functionalitiesModule/styles';
4647
export * from './mediaButton/styles';
4748
export * from './navigationCard/styles';
49+
export * from './navigationRow/styles';
4850
export * from './oliveMenu/styles';
4951
export * from './operativeLayout/styles';
5052
export * from './pageControlAutomate/styles';
53+
export * from './pagination/styles';
5154
export * from './pill/styles';
5255
export * from './pillSelector/styles';
5356
export * from './radioButtonGroup/styles';
@@ -56,19 +59,19 @@ export * from './textCount/styles';
5659
export * from './toggle/styles';
5760
export * from './toggleWithLabel/styles';
5861
export * from './tooltip/styles';
62+
export * from './badge/styles';
5963
export * from './calendar/styles';
6064
export * from './cardImage/styles';
6165
export * from './layout/styles';
6266
export * from './dropdownSelected/styles';
6367
export * from './header/styles';
6468
export * from './headerStructure/styles';
69+
export * from './selectorBoxFile/styles';
6570
export * from './skeleton/styles';
71+
export * from './slider/styles';
72+
export * from './stepperProgress/styles';
6673
export * from './stepperNumber/styles';
6774
export * from './thirdPartyAnimation/styles';
6875
export * from './textArea/styles';
6976
export * from './loadingState/styles';
70-
export * from './selectorBoxFile/styles';
71-
export * from './stepperProgress/styles';
72-
export * from './badge/styles';
73-
export * from './slider/styles';
74-
export * from './pagination/styles';
77+
export * from './inputSignature/styles';

src/designSystem/kubit/components/variants.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export * from './option/variants';
99
export * from './overlay/variants';
1010
export * from './popover/variants';
1111
export * from './tag/variants';
12+
export * from './tagV2/variants';
1213
export * from './text/variants';
1314
export * from './actionBottomSheet/variants';
1415
export * from './backToTop/variants';
@@ -45,30 +46,32 @@ export * from './dot/variants';
4546
export * from './functionalitiesModule/variants';
4647
export * from './mediaButton/variants';
4748
export * from './navigationCard/variants';
49+
export * from './navigationRow/variants';
4850
export * from './oliveMenu/variants';
4951
export * from './operativeLayout/variants';
5052
export * from './pageControlAutomate/variants';
53+
export * from './pagination/variants';
5154
export * from './pill/variants';
5255
export * from './pillSelector/variants';
5356
export * from './radioButtonGroup/variants';
5457
export * from './table/variants';
5558
export * from './toggle/variants';
5659
export * from './toggleWithLabel/variants';
5760
export * from './tooltip/variants';
61+
export * from './badge/variants';
5862
export * from './calendar/variants';
5963
export * from './cardImage/variants';
6064
export * from './layout/variants';
6165
export * from './dropdownSelected/variants';
6266
export * from './header/variants';
6367
export * from './headerStructure/variants';
68+
export * from './selectorBoxFile/variants';
6469
export * from './skeleton/variants';
70+
export * from './slider/variants';
71+
export * from './stepperProgress/variants';
6572
export * from './stepperNumber/variants';
6673
export * from './thirdPartyAnimation/variants';
6774
export * from './textArea/variants';
6875
export * from './loadingState/variants';
6976
export * from './textCount/variants';
70-
export * from './selectorBoxFile/variants';
71-
export * from './stepperProgress/variants';
72-
export * from './badge/variants';
73-
export * from './slider/variants';
74-
export * from './pagination/variants';
77+
export * from './inputSignature/variants';

src/designSystem/kubitWireframe/commons/components/styles.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import { getStepperNumberStyles } from './stepperNumber';
4949
import { getTableStyles } from './table';
5050
import { getTabsStyles } from './tabs';
5151
import { getTagStyles } from './tag';
52+
import { getTagStylesV2 } from './tagV2';
5253
import { TEXT_STYLES } from './text/styles';
5354
import { getTextCountStyles } from './textCount';
5455
import { getThirdPartyAnimationStyles } from './thirdPartyAnimation';
@@ -108,6 +109,7 @@ export const getComponentsStyles = (COLORS: {
108109
STEPPER_NUMBER_STYLES: getStepperNumberStyles(COLORS),
109110
TABLE_STYLES: getTableStyles(COLORS),
110111
TAG_STYLES: getTagStyles(COLORS),
112+
TAG_STYLES_V2: getTagStylesV2(COLORS),
111113
TEXT_COUNT_STYLES: getTextCountStyles(COLORS),
112114
TEXT_STYLES: TEXT_STYLES,
113115
THIRD_PARTY_ANIMATION_STYLES: getThirdPartyAnimationStyles(COLORS),

src/designSystem/kubitWireframe/commons/components/variants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export * from './snackbar/variants';
4848
export * from './stepperNumber/variants';
4949
export * from './table/variants';
5050
export * from './tag/variants';
51+
export * from './tagV2/variants';
5152
export * from './text/variants';
5253
export * from './textCount/variants';
5354
export * from './thirdPartyAnimation/variants';

src/designSystem/variants.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/**
2-
* Variants
3-
* @description Variants for the components
4-
* @typedef {Object} Variants
5-
* There are upcomming variants for the next components
6-
*/
71
export type Variants = {
82
ButtonVariantType?: object;
93
CheckboxVariantType?: object;
@@ -111,8 +105,8 @@ export type Variants = {
111105
TagStatusType?: object;
112106
TagOptionType?: object;
113107
TagVariantType?: object;
108+
TagVariantTypeV2?: object;
114109
VideoVariantType?: object;
115110
DropdownSelectedVariantType?: object;
116111
TextCountVariantType?: object;
117-
TagVariantTypeV2?: object;
118112
};

0 commit comments

Comments
 (0)