@dxc-technology/halstack-react 0.0.0-c7ec4d1 → 0.0.0-c83579c
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/BackgroundColorContext.d.ts +10 -0
- package/BackgroundColorContext.js +47 -0
- package/HalstackContext.d.ts +1336 -0
- package/HalstackContext.js +335 -0
- package/accordion/Accordion.d.ts +4 -0
- package/accordion/Accordion.js +234 -0
- package/accordion/Accordion.stories.tsx +395 -0
- package/accordion/Accordion.test.js +71 -0
- package/accordion/types.d.ts +69 -0
- package/accordion/types.js +5 -0
- package/accordion-group/AccordionGroup.d.ts +7 -0
- package/accordion-group/AccordionGroup.js +149 -0
- package/accordion-group/AccordionGroup.stories.tsx +251 -0
- package/accordion-group/AccordionGroup.test.js +126 -0
- package/accordion-group/types.d.ts +79 -0
- package/accordion-group/types.js +5 -0
- package/alert/Alert.d.ts +4 -0
- package/{dist/alert → alert}/Alert.js +45 -157
- package/alert/Alert.stories.tsx +198 -0
- package/alert/Alert.test.js +92 -0
- package/alert/types.d.ts +49 -0
- package/alert/types.js +5 -0
- package/badge/Badge.d.ts +4 -0
- package/badge/Badge.js +61 -0
- package/badge/types.d.ts +5 -0
- package/badge/types.js +5 -0
- package/bleed/Bleed.d.ts +3 -0
- package/bleed/Bleed.js +51 -0
- package/bleed/Bleed.stories.tsx +342 -0
- package/bleed/types.d.ts +37 -0
- package/bleed/types.js +5 -0
- package/box/Box.d.ts +4 -0
- package/box/Box.js +114 -0
- package/box/Box.stories.tsx +147 -0
- package/box/Box.test.js +18 -0
- package/box/types.d.ts +44 -0
- package/box/types.js +5 -0
- package/bulleted-list/BulletedList.d.ts +7 -0
- package/bulleted-list/BulletedList.js +123 -0
- package/bulleted-list/BulletedList.stories.tsx +200 -0
- package/bulleted-list/types.d.ts +11 -0
- package/bulleted-list/types.js +5 -0
- package/button/Button.d.ts +4 -0
- package/button/Button.js +153 -0
- package/button/Button.stories.tsx +425 -0
- package/button/Button.test.js +35 -0
- package/button/types.d.ts +53 -0
- package/button/types.js +5 -0
- package/card/Card.d.ts +4 -0
- package/card/Card.js +160 -0
- package/card/Card.stories.tsx +200 -0
- package/card/Card.test.js +50 -0
- package/card/ice-cream.jpg +0 -0
- package/card/types.d.ts +68 -0
- package/card/types.js +5 -0
- package/checkbox/Checkbox.d.ts +4 -0
- package/checkbox/Checkbox.js +250 -0
- package/checkbox/Checkbox.stories.tsx +260 -0
- package/checkbox/Checkbox.test.js +155 -0
- package/checkbox/types.d.ts +68 -0
- package/checkbox/types.js +5 -0
- package/chip/Chip.d.ts +4 -0
- package/chip/Chip.js +153 -0
- package/chip/Chip.stories.tsx +206 -0
- package/chip/Chip.test.js +54 -0
- package/chip/types.d.ts +45 -0
- package/chip/types.js +5 -0
- package/common/OpenSans.css +69 -0
- package/common/coreTokens.d.ts +146 -0
- package/common/coreTokens.js +167 -0
- package/common/utils.d.ts +1 -0
- package/{dist/common → common}/utils.js +4 -4
- package/common/variables.d.ts +1482 -0
- package/common/variables.js +1361 -0
- package/date-input/Calendar.d.ts +4 -0
- package/date-input/Calendar.js +258 -0
- package/date-input/DateInput.d.ts +4 -0
- package/date-input/DateInput.js +269 -0
- package/date-input/DateInput.stories.tsx +304 -0
- package/date-input/DateInput.test.js +835 -0
- package/date-input/DatePicker.d.ts +4 -0
- package/date-input/DatePicker.js +146 -0
- package/date-input/Icons.d.ts +6 -0
- package/date-input/Icons.js +75 -0
- package/date-input/YearPicker.d.ts +4 -0
- package/date-input/YearPicker.js +126 -0
- package/date-input/types.d.ts +158 -0
- package/date-input/types.js +5 -0
- package/dialog/Dialog.d.ts +4 -0
- package/dialog/Dialog.js +149 -0
- package/dialog/Dialog.stories.tsx +319 -0
- package/dialog/Dialog.test.js +369 -0
- package/dialog/types.d.ts +44 -0
- package/dialog/types.js +5 -0
- package/dropdown/Dropdown.d.ts +4 -0
- package/dropdown/Dropdown.js +388 -0
- package/dropdown/Dropdown.stories.tsx +438 -0
- package/dropdown/Dropdown.test.js +586 -0
- package/dropdown/DropdownMenu.d.ts +4 -0
- package/dropdown/DropdownMenu.js +74 -0
- package/dropdown/DropdownMenuItem.d.ts +4 -0
- package/dropdown/DropdownMenuItem.js +79 -0
- package/dropdown/types.d.ts +100 -0
- package/dropdown/types.js +5 -0
- package/file-input/FileInput.d.ts +4 -0
- package/file-input/FileInput.js +547 -0
- package/file-input/FileInput.stories.tsx +618 -0
- package/file-input/FileInput.test.js +457 -0
- package/file-input/FileItem.d.ts +4 -0
- package/file-input/FileItem.js +162 -0
- package/file-input/types.d.ts +129 -0
- package/file-input/types.js +5 -0
- package/flex/Flex.d.ts +4 -0
- package/flex/Flex.js +71 -0
- package/flex/Flex.stories.tsx +112 -0
- package/flex/types.d.ts +97 -0
- package/flex/types.js +5 -0
- package/footer/Footer.d.ts +4 -0
- package/footer/Footer.js +183 -0
- package/footer/Footer.stories.tsx +228 -0
- package/footer/Footer.test.js +97 -0
- package/footer/Icons.d.ts +2 -0
- package/{dist/footer → footer}/Icons.js +16 -16
- package/footer/types.d.ts +66 -0
- package/footer/types.js +5 -0
- package/grid/Grid.d.ts +7 -0
- package/grid/Grid.js +91 -0
- package/grid/Grid.stories.tsx +219 -0
- package/grid/types.d.ts +115 -0
- package/grid/types.js +5 -0
- package/header/Header.d.ts +8 -0
- package/header/Header.js +303 -0
- package/header/Header.stories.tsx +315 -0
- package/header/Header.test.js +79 -0
- package/header/Icons.d.ts +2 -0
- package/{dist/header → header}/Icons.js +9 -34
- package/header/types.d.ts +48 -0
- package/header/types.js +5 -0
- package/heading/Heading.d.ts +4 -0
- package/{dist/heading → heading}/Heading.js +26 -97
- package/heading/Heading.stories.tsx +54 -0
- package/heading/Heading.test.js +186 -0
- package/heading/types.d.ts +33 -0
- package/heading/types.js +5 -0
- package/inset/Inset.d.ts +3 -0
- package/inset/Inset.js +51 -0
- package/inset/Inset.stories.tsx +230 -0
- package/inset/types.d.ts +37 -0
- package/inset/types.js +5 -0
- package/layout/ApplicationLayout.d.ts +20 -0
- package/layout/ApplicationLayout.js +171 -0
- package/layout/ApplicationLayout.stories.tsx +162 -0
- package/layout/Icons.d.ts +5 -0
- package/{dist/layout → layout}/Icons.js +19 -8
- package/layout/SidenavContext.d.ts +5 -0
- package/layout/SidenavContext.js +19 -0
- package/layout/types.d.ts +41 -0
- package/layout/types.js +5 -0
- package/link/Link.d.ts +4 -0
- package/link/Link.js +136 -0
- package/link/Link.stories.tsx +253 -0
- package/link/Link.test.js +81 -0
- package/link/types.d.ts +54 -0
- package/link/types.js +5 -0
- package/main.d.ts +45 -0
- package/{dist/main.js → main.js} +122 -104
- package/nav-tabs/NavTabs.d.ts +8 -0
- package/nav-tabs/NavTabs.js +125 -0
- package/nav-tabs/NavTabs.stories.tsx +260 -0
- package/nav-tabs/NavTabs.test.js +82 -0
- package/nav-tabs/Tab.d.ts +4 -0
- package/nav-tabs/Tab.js +150 -0
- package/nav-tabs/types.d.ts +53 -0
- package/nav-tabs/types.js +5 -0
- package/number-input/NumberInput.d.ts +4 -0
- package/number-input/NumberInput.js +76 -0
- package/number-input/NumberInput.stories.tsx +115 -0
- package/number-input/NumberInput.test.js +542 -0
- package/number-input/NumberInputContext.d.ts +4 -0
- package/{dist/number-input → number-input}/NumberInputContext.js +5 -2
- package/number-input/numberInputContextTypes.d.ts +19 -0
- package/number-input/numberInputContextTypes.js +5 -0
- package/number-input/types.d.ts +124 -0
- package/number-input/types.js +5 -0
- package/package.json +45 -35
- package/paginator/Icons.d.ts +5 -0
- package/paginator/Icons.js +54 -0
- package/paginator/Paginator.d.ts +4 -0
- package/paginator/Paginator.js +163 -0
- package/paginator/Paginator.stories.tsx +87 -0
- package/paginator/Paginator.test.js +305 -0
- package/paginator/types.d.ts +38 -0
- package/paginator/types.js +5 -0
- package/paragraph/Paragraph.d.ts +5 -0
- package/paragraph/Paragraph.js +38 -0
- package/paragraph/Paragraph.stories.tsx +44 -0
- package/password-input/PasswordInput.d.ts +4 -0
- package/{dist/password-input → password-input}/PasswordInput.js +40 -77
- package/password-input/PasswordInput.stories.tsx +131 -0
- package/password-input/PasswordInput.test.js +181 -0
- package/password-input/types.d.ts +110 -0
- package/password-input/types.js +5 -0
- package/progress-bar/ProgressBar.d.ts +4 -0
- package/progress-bar/ProgressBar.js +176 -0
- package/progress-bar/ProgressBar.stories.jsx +93 -0
- package/progress-bar/ProgressBar.test.js +110 -0
- package/progress-bar/types.d.ts +37 -0
- package/progress-bar/types.js +5 -0
- package/quick-nav/QuickNav.d.ts +4 -0
- package/quick-nav/QuickNav.js +117 -0
- package/quick-nav/QuickNav.stories.tsx +356 -0
- package/quick-nav/types.d.ts +21 -0
- package/quick-nav/types.js +5 -0
- package/radio-group/Radio.d.ts +4 -0
- package/radio-group/Radio.js +156 -0
- package/radio-group/RadioGroup.d.ts +4 -0
- package/radio-group/RadioGroup.js +283 -0
- package/radio-group/RadioGroup.stories.tsx +214 -0
- package/radio-group/RadioGroup.test.js +722 -0
- package/radio-group/types.d.ts +114 -0
- package/radio-group/types.js +5 -0
- package/resultsetTable/Icons.d.ts +7 -0
- package/resultsetTable/Icons.js +51 -0
- package/resultsetTable/ResultsetTable.d.ts +4 -0
- package/resultsetTable/ResultsetTable.js +195 -0
- package/resultsetTable/ResultsetTable.stories.tsx +300 -0
- package/resultsetTable/ResultsetTable.test.js +325 -0
- package/resultsetTable/types.d.ts +67 -0
- package/resultsetTable/types.js +5 -0
- package/select/Icons.d.ts +10 -0
- package/select/Icons.js +93 -0
- package/select/Listbox.d.ts +4 -0
- package/select/Listbox.js +169 -0
- package/select/Option.d.ts +4 -0
- package/select/Option.js +97 -0
- package/select/Select.d.ts +4 -0
- package/select/Select.js +666 -0
- package/select/Select.stories.tsx +971 -0
- package/select/Select.test.js +2228 -0
- package/select/types.d.ts +210 -0
- package/select/types.js +5 -0
- package/sidenav/Icons.d.ts +7 -0
- package/sidenav/Icons.js +51 -0
- package/sidenav/Sidenav.d.ts +10 -0
- package/sidenav/Sidenav.js +238 -0
- package/sidenav/Sidenav.stories.tsx +282 -0
- package/sidenav/Sidenav.test.js +44 -0
- package/sidenav/types.d.ts +76 -0
- package/sidenav/types.js +5 -0
- package/slider/Slider.d.ts +4 -0
- package/slider/Slider.js +342 -0
- package/slider/Slider.stories.tsx +240 -0
- package/slider/Slider.test.js +250 -0
- package/slider/types.d.ts +86 -0
- package/slider/types.js +5 -0
- package/spinner/Spinner.d.ts +4 -0
- package/spinner/Spinner.js +244 -0
- package/spinner/Spinner.stories.jsx +129 -0
- package/spinner/Spinner.test.js +64 -0
- package/spinner/types.d.ts +32 -0
- package/spinner/types.js +5 -0
- package/switch/Switch.d.ts +4 -0
- package/switch/Switch.js +262 -0
- package/switch/Switch.stories.tsx +171 -0
- package/switch/Switch.test.js +225 -0
- package/switch/types.d.ts +66 -0
- package/switch/types.js +5 -0
- package/table/Table.d.ts +4 -0
- package/{dist/table → table}/Table.js +14 -28
- package/table/Table.stories.jsx +356 -0
- package/table/Table.test.js +26 -0
- package/table/types.d.ts +21 -0
- package/table/types.js +5 -0
- package/tabs/Tab.d.ts +4 -0
- package/tabs/Tab.js +132 -0
- package/tabs/Tabs.d.ts +4 -0
- package/tabs/Tabs.js +461 -0
- package/tabs/Tabs.stories.tsx +226 -0
- package/tabs/Tabs.test.js +350 -0
- package/tabs/types.d.ts +92 -0
- package/tabs/types.js +5 -0
- package/tag/Tag.d.ts +4 -0
- package/tag/Tag.js +181 -0
- package/tag/Tag.stories.tsx +155 -0
- package/tag/Tag.test.js +60 -0
- package/tag/types.d.ts +69 -0
- package/tag/types.js +5 -0
- package/text-input/Icons.d.ts +8 -0
- package/text-input/Icons.js +60 -0
- package/text-input/Suggestion.d.ts +4 -0
- package/text-input/Suggestion.js +84 -0
- package/text-input/Suggestions.d.ts +4 -0
- package/text-input/Suggestions.js +134 -0
- package/text-input/TextInput.d.ts +4 -0
- package/text-input/TextInput.js +673 -0
- package/text-input/TextInput.stories.tsx +569 -0
- package/text-input/TextInput.test.js +1723 -0
- package/text-input/types.d.ts +197 -0
- package/text-input/types.js +5 -0
- package/textarea/Textarea.d.ts +4 -0
- package/{dist/textarea → textarea}/Textarea.js +51 -144
- package/textarea/Textarea.stories.jsx +216 -0
- package/textarea/Textarea.test.js +435 -0
- package/textarea/types.d.ts +137 -0
- package/textarea/types.js +5 -0
- package/toggle-group/ToggleGroup.d.ts +4 -0
- package/{dist/toggle-group → toggle-group}/ToggleGroup.js +42 -151
- package/toggle-group/ToggleGroup.stories.tsx +215 -0
- package/toggle-group/ToggleGroup.test.js +156 -0
- package/toggle-group/types.d.ts +105 -0
- package/toggle-group/types.js +5 -0
- package/typography/Typography.d.ts +4 -0
- package/typography/Typography.js +32 -0
- package/typography/Typography.stories.tsx +198 -0
- package/typography/types.d.ts +18 -0
- package/typography/types.js +5 -0
- package/useTheme.d.ts +1235 -0
- package/{dist/useTheme.js → useTheme.js} +3 -3
- package/useTranslatedLabels.d.ts +85 -0
- package/useTranslatedLabels.js +20 -0
- package/utils/BaseTypography.d.ts +21 -0
- package/utils/BaseTypography.js +108 -0
- package/utils/FocusLock.d.ts +13 -0
- package/utils/FocusLock.js +139 -0
- package/wizard/Wizard.d.ts +4 -0
- package/wizard/Wizard.js +285 -0
- package/wizard/Wizard.stories.tsx +253 -0
- package/wizard/Wizard.test.js +141 -0
- package/wizard/types.d.ts +64 -0
- package/wizard/types.js +5 -0
- package/README.md +0 -66
- package/babel.config.js +0 -8
- package/dist/BackgroundColorContext.js +0 -46
- package/dist/ThemeContext.js +0 -250
- package/dist/V3Select/V3Select.js +0 -549
- package/dist/V3Textarea/V3Textarea.js +0 -264
- package/dist/accordion/Accordion.js +0 -353
- package/dist/accordion-group/AccordionGroup.js +0 -186
- package/dist/alert/index.d.ts +0 -51
- package/dist/badge/Badge.js +0 -63
- package/dist/box/Box.js +0 -156
- package/dist/button/Button.js +0 -238
- package/dist/card/Card.js +0 -254
- package/dist/checkbox/Checkbox.js +0 -299
- package/dist/chip/Chip.js +0 -265
- package/dist/common/OpenSans.css +0 -81
- package/dist/common/RequiredComponent.js +0 -40
- package/dist/common/variables.js +0 -1582
- package/dist/date/Date.js +0 -379
- package/dist/date-input/DateInput.js +0 -400
- package/dist/date-input/index.d.ts +0 -95
- package/dist/dialog/Dialog.js +0 -218
- package/dist/dropdown/Dropdown.js +0 -544
- package/dist/file-input/FileInput.js +0 -644
- package/dist/file-input/FileItem.js +0 -287
- package/dist/file-input/index.d.ts +0 -81
- package/dist/footer/Footer.js +0 -421
- package/dist/header/Header.js +0 -470
- package/dist/input-text/Icons.js +0 -22
- package/dist/input-text/InputText.js +0 -705
- package/dist/layout/ApplicationLayout.js +0 -327
- package/dist/link/Link.js +0 -237
- package/dist/main.d.ts +0 -8
- package/dist/number-input/NumberInput.js +0 -136
- package/dist/number-input/index.d.ts +0 -113
- package/dist/paginator/Icons.js +0 -66
- package/dist/paginator/Paginator.js +0 -283
- package/dist/password-input/index.d.ts +0 -94
- package/dist/progress-bar/ProgressBar.js +0 -242
- package/dist/radio/Radio.js +0 -209
- package/dist/resultsetTable/ResultsetTable.js +0 -358
- package/dist/select/Select.js +0 -1085
- package/dist/select/index.d.ts +0 -53
- package/dist/sidenav/Sidenav.js +0 -179
- package/dist/slider/Slider.js +0 -404
- package/dist/spinner/Spinner.js +0 -381
- package/dist/switch/Switch.js +0 -222
- package/dist/tabs/Tabs.js +0 -343
- package/dist/tag/Tag.js +0 -282
- package/dist/text-input/TextInput.js +0 -974
- package/dist/text-input/index.d.ts +0 -135
- package/dist/textarea/index.d.ts +0 -117
- package/dist/toggle/Toggle.js +0 -220
- package/dist/upload/Upload.js +0 -205
- package/dist/upload/buttons-upload/ButtonsUpload.js +0 -135
- package/dist/upload/buttons-upload/Icons.js +0 -40
- package/dist/upload/dragAndDropArea/DragAndDropArea.js +0 -329
- package/dist/upload/dragAndDropArea/Icons.js +0 -39
- package/dist/upload/file-upload/FileToUpload.js +0 -189
- package/dist/upload/file-upload/Icons.js +0 -66
- package/dist/upload/files-upload/FilesToUpload.js +0 -123
- package/dist/upload/transaction/Icons.js +0 -160
- package/dist/upload/transaction/Transaction.js +0 -148
- package/dist/upload/transactions/Transactions.js +0 -138
- package/dist/wizard/Icons.js +0 -65
- package/dist/wizard/Wizard.js +0 -405
- package/test/Accordion.test.js +0 -33
- package/test/AccordionGroup.test.js +0 -125
- package/test/Alert.test.js +0 -53
- package/test/Box.test.js +0 -10
- package/test/Button.test.js +0 -18
- package/test/Card.test.js +0 -30
- package/test/Checkbox.test.js +0 -45
- package/test/Chip.test.js +0 -25
- package/test/Date.test.js +0 -397
- package/test/DateInput.test.js +0 -242
- package/test/Dialog.test.js +0 -23
- package/test/Dropdown.test.js +0 -145
- package/test/FileInput.test.js +0 -201
- package/test/Footer.test.js +0 -94
- package/test/Header.test.js +0 -34
- package/test/Heading.test.js +0 -83
- package/test/InputText.test.js +0 -248
- package/test/Link.test.js +0 -43
- package/test/NumberInput.test.js +0 -259
- package/test/Paginator.test.js +0 -177
- package/test/PasswordInput.test.js +0 -83
- package/test/ProgressBar.test.js +0 -35
- package/test/Radio.test.js +0 -37
- package/test/ResultsetTable.test.js +0 -329
- package/test/Sidenav.test.js +0 -45
- package/test/Slider.test.js +0 -74
- package/test/Spinner.test.js +0 -32
- package/test/Switch.test.js +0 -45
- package/test/Table.test.js +0 -36
- package/test/Tabs.test.js +0 -109
- package/test/Tag.test.js +0 -32
- package/test/TextInput.test.js +0 -732
- package/test/Textarea.test.js +0 -193
- package/test/ToggleGroup.test.js +0 -85
- package/test/Upload.test.js +0 -60
- package/test/V3Select.test.js +0 -212
- package/test/V3TextArea.test.js +0 -51
- package/test/Wizard.test.js +0 -130
- package/test/mocks/pngMock.js +0 -1
- package/test/mocks/svgMock.js +0 -1
- /package/{dist/common → common}/fonts/OpenSans-Bold.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-BoldItalic.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-ExtraBold.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-Italic.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-Light.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-LightItalic.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-Regular.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-SemiBold.ttf +0 -0
- /package/{dist/common → common}/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
package/link/types.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Space = "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
3
|
+
declare type Margin = {
|
|
4
|
+
top?: Space;
|
|
5
|
+
bottom?: Space;
|
|
6
|
+
left?: Space;
|
|
7
|
+
right?: Space;
|
|
8
|
+
};
|
|
9
|
+
declare type SVG = React.ReactNode & React.SVGProps<SVGSVGElement>;
|
|
10
|
+
export declare type LinkProps = {
|
|
11
|
+
/**
|
|
12
|
+
* If true, the color is inherited from parent.
|
|
13
|
+
*/
|
|
14
|
+
inheritColor?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* If true, the link is disabled.
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Indicates the position of the icon in the component.
|
|
21
|
+
*/
|
|
22
|
+
iconPosition?: "before" | "after";
|
|
23
|
+
/**
|
|
24
|
+
* Page to be opened when the user clicks on the link.
|
|
25
|
+
*/
|
|
26
|
+
href?: string;
|
|
27
|
+
/**
|
|
28
|
+
* If true, the page is opened in a new browser tab.
|
|
29
|
+
*/
|
|
30
|
+
newWindow?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* If defined, the link will be displayed as a button. This
|
|
33
|
+
* function will be called when the user clicks the link.
|
|
34
|
+
*/
|
|
35
|
+
onClick?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
|
|
38
|
+
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
|
|
39
|
+
*/
|
|
40
|
+
margin?: Space | Margin;
|
|
41
|
+
/**
|
|
42
|
+
* Value of the tabindex.
|
|
43
|
+
*/
|
|
44
|
+
tabIndex?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Content of the link.
|
|
47
|
+
*/
|
|
48
|
+
children: string;
|
|
49
|
+
/**
|
|
50
|
+
* Element or path used as the icon that will be placed next to the link text.
|
|
51
|
+
*/
|
|
52
|
+
icon?: string | SVG;
|
|
53
|
+
};
|
|
54
|
+
export {};
|
package/link/types.js
ADDED
package/main.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import DxcAlert from "./alert/Alert";
|
|
2
|
+
import DxcAccordion from "./accordion/Accordion";
|
|
3
|
+
import DxcButton from "./button/Button";
|
|
4
|
+
import DxcCard from "./card/Card";
|
|
5
|
+
import DxcCheckbox from "./checkbox/Checkbox";
|
|
6
|
+
import DxcDialog from "./dialog/Dialog";
|
|
7
|
+
import DxcDropdown from "./dropdown/Dropdown";
|
|
8
|
+
import DxcSlider from "./slider/Slider";
|
|
9
|
+
import DxcSwitch from "./switch/Switch";
|
|
10
|
+
import DxcTabs from "./tabs/Tabs";
|
|
11
|
+
import DxcProgressBar from "./progress-bar/ProgressBar";
|
|
12
|
+
import DxcSpinner from "./spinner/Spinner";
|
|
13
|
+
import DxcTable from "./table/Table";
|
|
14
|
+
import DxcBox from "./box/Box";
|
|
15
|
+
import DxcTag from "./tag/Tag";
|
|
16
|
+
import DxcPaginator from "./paginator/Paginator";
|
|
17
|
+
import DxcWizard from "./wizard/Wizard";
|
|
18
|
+
import DxcLink from "./link/Link";
|
|
19
|
+
import DxcHeading from "./heading/Heading";
|
|
20
|
+
import DxcResultsetTable from "./resultsetTable/ResultsetTable";
|
|
21
|
+
import DxcChip from "./chip/Chip";
|
|
22
|
+
import DxcApplicationLayout from "./layout/ApplicationLayout";
|
|
23
|
+
import DxcToggleGroup from "./toggle-group/ToggleGroup";
|
|
24
|
+
import DxcAccordionGroup from "./accordion-group/AccordionGroup";
|
|
25
|
+
import DxcBadge from "./badge/Badge";
|
|
26
|
+
import DxcTextInput from "./text-input/TextInput";
|
|
27
|
+
import DxcPasswordInput from "./password-input/PasswordInput";
|
|
28
|
+
import DxcDateInput from "./date-input/DateInput";
|
|
29
|
+
import DxcNumberInput from "./number-input/NumberInput";
|
|
30
|
+
import DxcTextarea from "./textarea/Textarea";
|
|
31
|
+
import DxcSelect from "./select/Select";
|
|
32
|
+
import DxcFileInput from "./file-input/FileInput";
|
|
33
|
+
import DxcRadioGroup from "./radio-group/RadioGroup";
|
|
34
|
+
import DxcBleed from "./bleed/Bleed";
|
|
35
|
+
import DxcInset from "./inset/Inset";
|
|
36
|
+
import DxcQuickNav from "./quick-nav/QuickNav";
|
|
37
|
+
import DxcNavTabs from "./nav-tabs/NavTabs";
|
|
38
|
+
import DxcFlex from "./flex/Flex";
|
|
39
|
+
import DxcTypography from "./typography/Typography";
|
|
40
|
+
import DxcParagraph from "./paragraph/Paragraph";
|
|
41
|
+
import DxcBulletedList from "./bulleted-list/BulletedList";
|
|
42
|
+
import DxcGrid from "./grid/Grid";
|
|
43
|
+
import HalstackContext, { HalstackProvider, HalstackLanguageContext } from "./HalstackContext";
|
|
44
|
+
import { BackgroundColorProvider } from "./BackgroundColorContext";
|
|
45
|
+
export { DxcAlert, DxcButton, DxcCheckbox, DxcTextInput, DxcDropdown, DxcSwitch, DxcSlider, DxcTable, DxcTabs, DxcToggleGroup, DxcDialog, DxcCard, DxcProgressBar, DxcAccordion, DxcSpinner, DxcBox, DxcTag, DxcPaginator, DxcWizard, DxcLink, DxcHeading, DxcResultsetTable, DxcChip, DxcApplicationLayout, HalstackContext, HalstackLanguageContext, HalstackProvider, BackgroundColorProvider, DxcAccordionGroup, DxcBadge, DxcPasswordInput, DxcDateInput, DxcNumberInput, DxcTextarea, DxcSelect, DxcFileInput, DxcRadioGroup, DxcBleed, DxcInset, DxcQuickNav, DxcNavTabs, DxcFlex, DxcTypography, DxcParagraph, DxcBulletedList, DxcGrid, };
|
package/{dist/main.js → main.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
Object.defineProperty(exports, "
|
|
10
|
+
Object.defineProperty(exports, "BackgroundColorProvider", {
|
|
11
11
|
enumerable: true,
|
|
12
12
|
get: function get() {
|
|
13
|
-
return
|
|
13
|
+
return _BackgroundColorContext.BackgroundColorProvider;
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "DxcAccordion", {
|
|
@@ -19,124 +19,136 @@ Object.defineProperty(exports, "DxcAccordion", {
|
|
|
19
19
|
return _Accordion["default"];
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
Object.defineProperty(exports, "
|
|
22
|
+
Object.defineProperty(exports, "DxcAccordionGroup", {
|
|
23
23
|
enumerable: true,
|
|
24
24
|
get: function get() {
|
|
25
|
-
return
|
|
25
|
+
return _AccordionGroup["default"];
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
Object.defineProperty(exports, "
|
|
28
|
+
Object.defineProperty(exports, "DxcAlert", {
|
|
29
29
|
enumerable: true,
|
|
30
30
|
get: function get() {
|
|
31
|
-
return
|
|
31
|
+
return _Alert["default"];
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
|
-
Object.defineProperty(exports, "
|
|
34
|
+
Object.defineProperty(exports, "DxcApplicationLayout", {
|
|
35
35
|
enumerable: true,
|
|
36
36
|
get: function get() {
|
|
37
|
-
return
|
|
37
|
+
return _ApplicationLayout["default"];
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
Object.defineProperty(exports, "
|
|
40
|
+
Object.defineProperty(exports, "DxcBadge", {
|
|
41
41
|
enumerable: true,
|
|
42
42
|
get: function get() {
|
|
43
|
-
return
|
|
43
|
+
return _Badge["default"];
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
Object.defineProperty(exports, "
|
|
46
|
+
Object.defineProperty(exports, "DxcBleed", {
|
|
47
47
|
enumerable: true,
|
|
48
48
|
get: function get() {
|
|
49
|
-
return
|
|
49
|
+
return _Bleed["default"];
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
Object.defineProperty(exports, "
|
|
52
|
+
Object.defineProperty(exports, "DxcBox", {
|
|
53
53
|
enumerable: true,
|
|
54
54
|
get: function get() {
|
|
55
|
-
return
|
|
55
|
+
return _Box["default"];
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
Object.defineProperty(exports, "
|
|
58
|
+
Object.defineProperty(exports, "DxcBulletedList", {
|
|
59
59
|
enumerable: true,
|
|
60
60
|
get: function get() {
|
|
61
|
-
return
|
|
61
|
+
return _BulletedList["default"];
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
Object.defineProperty(exports, "
|
|
64
|
+
Object.defineProperty(exports, "DxcButton", {
|
|
65
65
|
enumerable: true,
|
|
66
66
|
get: function get() {
|
|
67
|
-
return
|
|
67
|
+
return _Button["default"];
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
|
-
Object.defineProperty(exports, "
|
|
70
|
+
Object.defineProperty(exports, "DxcCard", {
|
|
71
71
|
enumerable: true,
|
|
72
72
|
get: function get() {
|
|
73
|
-
return
|
|
73
|
+
return _Card["default"];
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
Object.defineProperty(exports, "
|
|
76
|
+
Object.defineProperty(exports, "DxcCheckbox", {
|
|
77
77
|
enumerable: true,
|
|
78
78
|
get: function get() {
|
|
79
|
-
return
|
|
79
|
+
return _Checkbox["default"];
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
|
-
Object.defineProperty(exports, "
|
|
82
|
+
Object.defineProperty(exports, "DxcChip", {
|
|
83
83
|
enumerable: true,
|
|
84
84
|
get: function get() {
|
|
85
|
-
return
|
|
85
|
+
return _Chip["default"];
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
|
-
Object.defineProperty(exports, "
|
|
88
|
+
Object.defineProperty(exports, "DxcDateInput", {
|
|
89
89
|
enumerable: true,
|
|
90
90
|
get: function get() {
|
|
91
|
-
return
|
|
91
|
+
return _DateInput["default"];
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
Object.defineProperty(exports, "
|
|
94
|
+
Object.defineProperty(exports, "DxcDialog", {
|
|
95
95
|
enumerable: true,
|
|
96
96
|
get: function get() {
|
|
97
|
-
return
|
|
97
|
+
return _Dialog["default"];
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
|
-
Object.defineProperty(exports, "
|
|
100
|
+
Object.defineProperty(exports, "DxcDropdown", {
|
|
101
101
|
enumerable: true,
|
|
102
102
|
get: function get() {
|
|
103
|
-
return
|
|
103
|
+
return _Dropdown["default"];
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
|
-
Object.defineProperty(exports, "
|
|
106
|
+
Object.defineProperty(exports, "DxcFileInput", {
|
|
107
107
|
enumerable: true,
|
|
108
108
|
get: function get() {
|
|
109
|
-
return
|
|
109
|
+
return _FileInput["default"];
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
|
-
Object.defineProperty(exports, "
|
|
112
|
+
Object.defineProperty(exports, "DxcFlex", {
|
|
113
113
|
enumerable: true,
|
|
114
114
|
get: function get() {
|
|
115
|
-
return
|
|
115
|
+
return _Flex["default"];
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
|
-
Object.defineProperty(exports, "
|
|
118
|
+
Object.defineProperty(exports, "DxcGrid", {
|
|
119
119
|
enumerable: true,
|
|
120
120
|
get: function get() {
|
|
121
|
-
return
|
|
121
|
+
return _Grid["default"];
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
|
-
Object.defineProperty(exports, "
|
|
124
|
+
Object.defineProperty(exports, "DxcHeading", {
|
|
125
125
|
enumerable: true,
|
|
126
126
|
get: function get() {
|
|
127
|
-
return
|
|
127
|
+
return _Heading["default"];
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
|
-
Object.defineProperty(exports, "
|
|
130
|
+
Object.defineProperty(exports, "DxcInset", {
|
|
131
131
|
enumerable: true,
|
|
132
132
|
get: function get() {
|
|
133
|
-
return
|
|
133
|
+
return _Inset["default"];
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
|
-
Object.defineProperty(exports, "
|
|
136
|
+
Object.defineProperty(exports, "DxcLink", {
|
|
137
137
|
enumerable: true,
|
|
138
138
|
get: function get() {
|
|
139
|
-
return
|
|
139
|
+
return _Link["default"];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
Object.defineProperty(exports, "DxcNavTabs", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function get() {
|
|
145
|
+
return _NavTabs["default"];
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "DxcNumberInput", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function get() {
|
|
151
|
+
return _NumberInput["default"];
|
|
140
152
|
}
|
|
141
153
|
});
|
|
142
154
|
Object.defineProperty(exports, "DxcPaginator", {
|
|
@@ -145,34 +157,34 @@ Object.defineProperty(exports, "DxcPaginator", {
|
|
|
145
157
|
return _Paginator["default"];
|
|
146
158
|
}
|
|
147
159
|
});
|
|
148
|
-
Object.defineProperty(exports, "
|
|
160
|
+
Object.defineProperty(exports, "DxcParagraph", {
|
|
149
161
|
enumerable: true,
|
|
150
162
|
get: function get() {
|
|
151
|
-
return
|
|
163
|
+
return _Paragraph["default"];
|
|
152
164
|
}
|
|
153
165
|
});
|
|
154
|
-
Object.defineProperty(exports, "
|
|
166
|
+
Object.defineProperty(exports, "DxcPasswordInput", {
|
|
155
167
|
enumerable: true,
|
|
156
168
|
get: function get() {
|
|
157
|
-
return
|
|
169
|
+
return _PasswordInput["default"];
|
|
158
170
|
}
|
|
159
171
|
});
|
|
160
|
-
Object.defineProperty(exports, "
|
|
172
|
+
Object.defineProperty(exports, "DxcProgressBar", {
|
|
161
173
|
enumerable: true,
|
|
162
174
|
get: function get() {
|
|
163
|
-
return
|
|
175
|
+
return _ProgressBar["default"];
|
|
164
176
|
}
|
|
165
177
|
});
|
|
166
|
-
Object.defineProperty(exports, "
|
|
178
|
+
Object.defineProperty(exports, "DxcQuickNav", {
|
|
167
179
|
enumerable: true,
|
|
168
180
|
get: function get() {
|
|
169
|
-
return
|
|
181
|
+
return _QuickNav["default"];
|
|
170
182
|
}
|
|
171
183
|
});
|
|
172
|
-
Object.defineProperty(exports, "
|
|
184
|
+
Object.defineProperty(exports, "DxcRadioGroup", {
|
|
173
185
|
enumerable: true,
|
|
174
186
|
get: function get() {
|
|
175
|
-
return
|
|
187
|
+
return _RadioGroup["default"];
|
|
176
188
|
}
|
|
177
189
|
});
|
|
178
190
|
Object.defineProperty(exports, "DxcResultsetTable", {
|
|
@@ -181,94 +193,94 @@ Object.defineProperty(exports, "DxcResultsetTable", {
|
|
|
181
193
|
return _ResultsetTable["default"];
|
|
182
194
|
}
|
|
183
195
|
});
|
|
184
|
-
Object.defineProperty(exports, "
|
|
196
|
+
Object.defineProperty(exports, "DxcSelect", {
|
|
185
197
|
enumerable: true,
|
|
186
198
|
get: function get() {
|
|
187
|
-
return
|
|
199
|
+
return _Select["default"];
|
|
188
200
|
}
|
|
189
201
|
});
|
|
190
|
-
Object.defineProperty(exports, "
|
|
202
|
+
Object.defineProperty(exports, "DxcSlider", {
|
|
191
203
|
enumerable: true,
|
|
192
204
|
get: function get() {
|
|
193
|
-
return
|
|
205
|
+
return _Slider["default"];
|
|
194
206
|
}
|
|
195
207
|
});
|
|
196
|
-
Object.defineProperty(exports, "
|
|
208
|
+
Object.defineProperty(exports, "DxcSpinner", {
|
|
197
209
|
enumerable: true,
|
|
198
210
|
get: function get() {
|
|
199
|
-
return
|
|
211
|
+
return _Spinner["default"];
|
|
200
212
|
}
|
|
201
213
|
});
|
|
202
|
-
Object.defineProperty(exports, "
|
|
214
|
+
Object.defineProperty(exports, "DxcSwitch", {
|
|
203
215
|
enumerable: true,
|
|
204
216
|
get: function get() {
|
|
205
|
-
return
|
|
217
|
+
return _Switch["default"];
|
|
206
218
|
}
|
|
207
219
|
});
|
|
208
|
-
Object.defineProperty(exports, "
|
|
220
|
+
Object.defineProperty(exports, "DxcTable", {
|
|
209
221
|
enumerable: true,
|
|
210
222
|
get: function get() {
|
|
211
|
-
return
|
|
223
|
+
return _Table["default"];
|
|
212
224
|
}
|
|
213
225
|
});
|
|
214
|
-
Object.defineProperty(exports, "
|
|
226
|
+
Object.defineProperty(exports, "DxcTabs", {
|
|
215
227
|
enumerable: true,
|
|
216
228
|
get: function get() {
|
|
217
|
-
return
|
|
229
|
+
return _Tabs["default"];
|
|
218
230
|
}
|
|
219
231
|
});
|
|
220
|
-
Object.defineProperty(exports, "
|
|
232
|
+
Object.defineProperty(exports, "DxcTag", {
|
|
221
233
|
enumerable: true,
|
|
222
234
|
get: function get() {
|
|
223
|
-
return
|
|
235
|
+
return _Tag["default"];
|
|
224
236
|
}
|
|
225
237
|
});
|
|
226
|
-
Object.defineProperty(exports, "
|
|
238
|
+
Object.defineProperty(exports, "DxcTextInput", {
|
|
227
239
|
enumerable: true,
|
|
228
240
|
get: function get() {
|
|
229
|
-
return
|
|
241
|
+
return _TextInput["default"];
|
|
230
242
|
}
|
|
231
243
|
});
|
|
232
|
-
Object.defineProperty(exports, "
|
|
244
|
+
Object.defineProperty(exports, "DxcTextarea", {
|
|
233
245
|
enumerable: true,
|
|
234
246
|
get: function get() {
|
|
235
|
-
return
|
|
247
|
+
return _Textarea["default"];
|
|
236
248
|
}
|
|
237
249
|
});
|
|
238
|
-
Object.defineProperty(exports, "
|
|
250
|
+
Object.defineProperty(exports, "DxcToggleGroup", {
|
|
239
251
|
enumerable: true,
|
|
240
252
|
get: function get() {
|
|
241
|
-
return
|
|
253
|
+
return _ToggleGroup["default"];
|
|
242
254
|
}
|
|
243
255
|
});
|
|
244
|
-
Object.defineProperty(exports, "
|
|
256
|
+
Object.defineProperty(exports, "DxcTypography", {
|
|
245
257
|
enumerable: true,
|
|
246
258
|
get: function get() {
|
|
247
|
-
return
|
|
259
|
+
return _Typography["default"];
|
|
248
260
|
}
|
|
249
261
|
});
|
|
250
|
-
Object.defineProperty(exports, "
|
|
262
|
+
Object.defineProperty(exports, "DxcWizard", {
|
|
251
263
|
enumerable: true,
|
|
252
264
|
get: function get() {
|
|
253
|
-
return
|
|
265
|
+
return _Wizard["default"];
|
|
254
266
|
}
|
|
255
267
|
});
|
|
256
|
-
Object.defineProperty(exports, "
|
|
268
|
+
Object.defineProperty(exports, "HalstackContext", {
|
|
257
269
|
enumerable: true,
|
|
258
270
|
get: function get() {
|
|
259
|
-
return
|
|
271
|
+
return _HalstackContext["default"];
|
|
260
272
|
}
|
|
261
273
|
});
|
|
262
|
-
Object.defineProperty(exports, "
|
|
274
|
+
Object.defineProperty(exports, "HalstackLanguageContext", {
|
|
263
275
|
enumerable: true,
|
|
264
276
|
get: function get() {
|
|
265
|
-
return
|
|
277
|
+
return _HalstackContext.HalstackLanguageContext;
|
|
266
278
|
}
|
|
267
279
|
});
|
|
268
|
-
Object.defineProperty(exports, "
|
|
280
|
+
Object.defineProperty(exports, "HalstackProvider", {
|
|
269
281
|
enumerable: true,
|
|
270
282
|
get: function get() {
|
|
271
|
-
return
|
|
283
|
+
return _HalstackContext.HalstackProvider;
|
|
272
284
|
}
|
|
273
285
|
});
|
|
274
286
|
|
|
@@ -282,22 +294,10 @@ var _Card = _interopRequireDefault(require("./card/Card"));
|
|
|
282
294
|
|
|
283
295
|
var _Checkbox = _interopRequireDefault(require("./checkbox/Checkbox"));
|
|
284
296
|
|
|
285
|
-
var _Date = _interopRequireDefault(require("./date/Date"));
|
|
286
|
-
|
|
287
297
|
var _Dialog = _interopRequireDefault(require("./dialog/Dialog"));
|
|
288
298
|
|
|
289
299
|
var _Dropdown = _interopRequireDefault(require("./dropdown/Dropdown"));
|
|
290
300
|
|
|
291
|
-
var _Footer = _interopRequireDefault(require("./footer/Footer"));
|
|
292
|
-
|
|
293
|
-
var _Header = _interopRequireDefault(require("./header/Header"));
|
|
294
|
-
|
|
295
|
-
var _InputText = _interopRequireDefault(require("./input-text/InputText"));
|
|
296
|
-
|
|
297
|
-
var _Radio = _interopRequireDefault(require("./radio/Radio"));
|
|
298
|
-
|
|
299
|
-
var _V3Select = _interopRequireDefault(require("./V3Select/V3Select"));
|
|
300
|
-
|
|
301
301
|
var _Slider = _interopRequireDefault(require("./slider/Slider"));
|
|
302
302
|
|
|
303
303
|
var _Switch = _interopRequireDefault(require("./switch/Switch"));
|
|
@@ -308,8 +308,6 @@ var _ProgressBar = _interopRequireDefault(require("./progress-bar/ProgressBar"))
|
|
|
308
308
|
|
|
309
309
|
var _Spinner = _interopRequireDefault(require("./spinner/Spinner"));
|
|
310
310
|
|
|
311
|
-
var _Upload = _interopRequireDefault(require("./upload/Upload"));
|
|
312
|
-
|
|
313
311
|
var _Table = _interopRequireDefault(require("./table/Table"));
|
|
314
312
|
|
|
315
313
|
var _Box = _interopRequireDefault(require("./box/Box"));
|
|
@@ -318,16 +316,12 @@ var _Tag = _interopRequireDefault(require("./tag/Tag"));
|
|
|
318
316
|
|
|
319
317
|
var _Paginator = _interopRequireDefault(require("./paginator/Paginator"));
|
|
320
318
|
|
|
321
|
-
var _Sidenav = _interopRequireDefault(require("./sidenav/Sidenav"));
|
|
322
|
-
|
|
323
319
|
var _Wizard = _interopRequireDefault(require("./wizard/Wizard"));
|
|
324
320
|
|
|
325
321
|
var _Link = _interopRequireDefault(require("./link/Link"));
|
|
326
322
|
|
|
327
323
|
var _Heading = _interopRequireDefault(require("./heading/Heading"));
|
|
328
324
|
|
|
329
|
-
var _V3Textarea = _interopRequireDefault(require("./V3Textarea/V3Textarea"));
|
|
330
|
-
|
|
331
325
|
var _ResultsetTable = _interopRequireDefault(require("./resultsetTable/ResultsetTable"));
|
|
332
326
|
|
|
333
327
|
var _Chip = _interopRequireDefault(require("./chip/Chip"));
|
|
@@ -354,6 +348,30 @@ var _Select = _interopRequireDefault(require("./select/Select"));
|
|
|
354
348
|
|
|
355
349
|
var _FileInput = _interopRequireDefault(require("./file-input/FileInput"));
|
|
356
350
|
|
|
357
|
-
var
|
|
351
|
+
var _RadioGroup = _interopRequireDefault(require("./radio-group/RadioGroup"));
|
|
352
|
+
|
|
353
|
+
var _Bleed = _interopRequireDefault(require("./bleed/Bleed"));
|
|
354
|
+
|
|
355
|
+
var _Inset = _interopRequireDefault(require("./inset/Inset"));
|
|
356
|
+
|
|
357
|
+
var _QuickNav = _interopRequireDefault(require("./quick-nav/QuickNav"));
|
|
358
|
+
|
|
359
|
+
var _NavTabs = _interopRequireDefault(require("./nav-tabs/NavTabs"));
|
|
360
|
+
|
|
361
|
+
var _Flex = _interopRequireDefault(require("./flex/Flex"));
|
|
362
|
+
|
|
363
|
+
var _Typography = _interopRequireDefault(require("./typography/Typography"));
|
|
364
|
+
|
|
365
|
+
var _Paragraph = _interopRequireDefault(require("./paragraph/Paragraph"));
|
|
366
|
+
|
|
367
|
+
var _BulletedList = _interopRequireDefault(require("./bulleted-list/BulletedList"));
|
|
368
|
+
|
|
369
|
+
var _Grid = _interopRequireDefault(require("./grid/Grid"));
|
|
370
|
+
|
|
371
|
+
var _HalstackContext = _interopRequireWildcard(require("./HalstackContext"));
|
|
372
|
+
|
|
373
|
+
var _BackgroundColorContext = require("./BackgroundColorContext");
|
|
374
|
+
|
|
375
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
358
376
|
|
|
359
|
-
var
|
|
377
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { NavTabsContextProps, NavTabsProps } from "./types";
|
|
3
|
+
export declare const NavTabsContext: React.Context<NavTabsContextProps>;
|
|
4
|
+
declare const DxcNavTabs: {
|
|
5
|
+
({ iconPosition, tabIndex, children }: NavTabsProps): JSX.Element;
|
|
6
|
+
Tab: React.ForwardRefExoticComponent<import("./types").TabProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
};
|
|
8
|
+
export default DxcNavTabs;
|