@dxc-technology/halstack-react 0.0.0-beebecd → 0.0.0-c060fff
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/BackgroundColorContext.js → BackgroundColorContext.js} +0 -0
- package/{dist/ThemeContext.js → ThemeContext.js} +40 -38
- package/{dist/select/Select.js → V3Select/V3Select.js} +5 -5
- package/V3Select/index.d.ts +27 -0
- package/{dist/textarea/Textarea.js → V3Textarea/V3Textarea.js} +4 -4
- package/V3Textarea/index.d.ts +27 -0
- package/{dist/accordion → accordion}/Accordion.js +0 -0
- package/accordion/index.d.ts +28 -0
- package/{dist/accordion-group → accordion-group}/AccordionGroup.js +0 -0
- package/accordion-group/index.d.ts +16 -0
- package/{dist/alert → alert}/Alert.js +1 -1
- package/{dist/alert → alert}/index.d.ts +0 -0
- package/{dist/badge → badge}/Badge.js +0 -0
- package/{dist/box → box}/Box.js +0 -0
- package/box/index.d.ts +25 -0
- package/{dist/button → button}/Button.js +3 -3
- package/button/Button.stories.js +27 -0
- package/button/index.d.ts +24 -0
- package/{dist/card → card}/Card.js +0 -0
- package/card/index.d.ts +22 -0
- package/{dist/checkbox → checkbox}/Checkbox.js +4 -5
- package/checkbox/index.d.ts +24 -0
- package/{dist/chip → chip}/Chip.js +0 -0
- package/chip/index.d.ts +22 -0
- package/{dist/common → common}/OpenSans.css +0 -0
- package/{dist/common → common}/RequiredComponent.js +0 -0
- 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/{dist/common → common}/utils.js +0 -0
- package/{dist/common → common}/variables.js +133 -128
- package/{dist/date → date}/Date.js +0 -0
- package/date/index.d.ts +27 -0
- package/{dist/date-input → date-input}/DateInput.js +0 -0
- package/{dist/date-input → date-input}/index.d.ts +0 -0
- package/{dist/dialog → dialog}/Dialog.js +0 -0
- package/dialog/index.d.ts +18 -0
- package/{dist/dropdown → dropdown}/Dropdown.js +0 -0
- package/dropdown/index.d.ts +26 -0
- package/{dist/file-input → file-input}/FileInput.js +2 -2
- package/{dist/file-input → file-input}/FileItem.js +8 -1
- package/{dist/file-input → file-input}/index.d.ts +1 -1
- package/{dist/footer → footer}/Footer.js +44 -18
- package/footer/Icons.js +77 -0
- package/footer/index.d.ts +25 -0
- package/{dist/header → header}/Header.js +122 -55
- package/header/Icons.js +59 -0
- package/header/index.d.ts +25 -0
- package/{dist/heading → heading}/Heading.js +12 -0
- package/heading/index.d.ts +17 -0
- package/input-text/Icons.js +22 -0
- package/{dist/input-text → input-text}/InputText.js +7 -9
- package/input-text/index.d.ts +36 -0
- package/{dist/layout → layout}/ApplicationLayout.js +4 -8
- package/layout/Icons.js +55 -0
- package/{dist/link → link}/Link.js +0 -0
- package/link/index.d.ts +23 -0
- package/main.d.ts +40 -0
- package/{dist/main.js → main.js} +13 -21
- package/{dist/number-input → number-input}/NumberInput.js +0 -0
- package/{dist/number-input → number-input}/NumberInputContext.js +0 -0
- package/{dist/number-input → number-input}/index.d.ts +0 -0
- package/package.json +21 -17
- package/paginator/Icons.js +66 -0
- package/{dist/paginator → paginator}/Paginator.js +53 -37
- package/paginator/index.d.ts +20 -0
- package/{dist/password-input → password-input}/PasswordInput.js +6 -1
- package/{dist/password-input → password-input}/index.d.ts +0 -0
- package/{dist/progress-bar → progress-bar}/ProgressBar.js +0 -0
- package/progress-bar/index.d.ts +18 -0
- package/{dist/radio → radio}/Radio.js +0 -0
- package/radio/index.d.ts +23 -0
- package/{dist/resultsetTable → resultsetTable}/ResultsetTable.js +0 -0
- package/resultsetTable/index.d.ts +19 -0
- package/select/Select.js +1137 -0
- package/select/index.d.ts +131 -0
- package/{dist/sidenav → sidenav}/Sidenav.js +0 -0
- package/sidenav/index.d.ts +13 -0
- package/{dist/slider → slider}/Slider.js +16 -6
- package/slider/index.d.ts +29 -0
- package/{dist/spinner → spinner}/Spinner.js +0 -0
- package/spinner/index.d.ts +17 -0
- package/{dist/switch → switch}/Switch.js +0 -0
- package/switch/index.d.ts +24 -0
- package/{dist/table → table}/Table.js +0 -0
- package/table/index.d.ts +13 -0
- package/{dist/tabs → tabs}/Tabs.js +0 -0
- package/tabs/index.d.ts +19 -0
- package/{dist/tag → tag}/Tag.js +0 -0
- package/tag/index.d.ts +24 -0
- package/{dist/text-input → text-input}/TextInput.js +10 -7
- package/{dist/text-input → text-input}/index.d.ts +0 -0
- package/{dist/new-textarea/NewTextarea.js → textarea/Textarea.js} +6 -6
- package/{dist/new-textarea → textarea}/index.d.ts +1 -1
- package/{dist/toggle → toggle}/Toggle.js +0 -0
- package/toggle/index.d.ts +21 -0
- package/{dist/toggle-group → toggle-group}/ToggleGroup.js +0 -0
- package/toggle-group/index.d.ts +21 -0
- package/{dist/upload → upload}/Upload.js +0 -0
- package/{dist/upload → upload}/buttons-upload/ButtonsUpload.js +7 -11
- package/upload/buttons-upload/Icons.js +40 -0
- package/{dist/upload → upload}/dragAndDropArea/DragAndDropArea.js +14 -14
- package/upload/dragAndDropArea/Icons.js +39 -0
- package/{dist/upload → upload}/file-upload/FileToUpload.js +26 -21
- package/upload/file-upload/Icons.js +66 -0
- package/{dist/upload → upload}/files-upload/FilesToUpload.js +0 -0
- package/upload/index.d.ts +15 -0
- package/upload/transaction/Icons.js +160 -0
- package/{dist/upload → upload}/transaction/Transaction.js +11 -38
- package/{dist/upload → upload}/transactions/Transactions.js +0 -0
- package/{dist/useTheme.js → useTheme.js} +0 -0
- package/wizard/Icons.js +65 -0
- package/{dist/wizard → wizard}/Wizard.js +3 -9
- package/wizard/index.d.ts +18 -0
- package/README.md +0 -66
- package/babel.config.js +0 -8
- package/dist/checkbox/Checkbox.stories.js +0 -144
- package/dist/checkbox/readme.md +0 -116
- package/dist/date/Date.stories.js +0 -205
- package/dist/date/readme.md +0 -73
- package/dist/footer/dxc_logo.svg +0 -15
- package/dist/footer/readme.md +0 -41
- package/dist/header/Header.stories.js +0 -176
- package/dist/header/close_icon.svg +0 -1
- package/dist/header/dxc_logo_black.svg +0 -8
- package/dist/header/hamb_menu_black.svg +0 -1
- package/dist/header/hamb_menu_white.svg +0 -1
- package/dist/header/readme.md +0 -33
- package/dist/input-text/error.svg +0 -1
- package/dist/input-text/readme.md +0 -91
- package/dist/layout/facebook.svg +0 -45
- package/dist/layout/linkedin.svg +0 -50
- package/dist/layout/twitter.svg +0 -53
- package/dist/link/readme.md +0 -51
- package/dist/main.d.ts +0 -8
- package/dist/new-select/NewSelect.js +0 -836
- package/dist/new-select/index.d.ts +0 -53
- package/dist/paginator/images/next.svg +0 -3
- package/dist/paginator/images/nextPage.svg +0 -3
- package/dist/paginator/images/previous.svg +0 -3
- package/dist/paginator/images/previousPage.svg +0 -3
- package/dist/paginator/readme.md +0 -50
- package/dist/progress-bar/ProgressBar.stories.js +0 -280
- package/dist/progress-bar/readme.md +0 -63
- package/dist/radio/Radio.stories.js +0 -166
- package/dist/radio/readme.md +0 -70
- package/dist/resultsetTable/arrow_downward-24px_wht.svg +0 -1
- package/dist/resultsetTable/arrow_upward-24px_wht.svg +0 -1
- package/dist/resultsetTable/unfold_more-24px_wht.svg +0 -1
- package/dist/slider/readme.md +0 -64
- package/dist/spinner/Spinner.stories.js +0 -183
- package/dist/spinner/readme.md +0 -65
- package/dist/switch/Switch.stories.js +0 -134
- package/dist/switch/readme.md +0 -133
- package/dist/tabs/Tabs.stories.js +0 -130
- package/dist/tabs/readme.md +0 -78
- package/dist/tabs-for-sections/TabsForSections.js +0 -92
- package/dist/tabs-for-sections/readme.md +0 -78
- package/dist/toggle/Toggle.stories.js +0 -297
- package/dist/toggle/readme.md +0 -80
- package/dist/upload/Upload.stories.js +0 -72
- package/dist/upload/buttons-upload/drag-drop-icon.svg +0 -4
- package/dist/upload/buttons-upload/upload-button.svg +0 -1
- package/dist/upload/dragAndDropArea/upload_drop.svg +0 -4
- package/dist/upload/dragAndDropArea/upload_file.svg +0 -4
- package/dist/upload/file-upload/audio-icon.svg +0 -4
- package/dist/upload/file-upload/close.svg +0 -4
- package/dist/upload/file-upload/file-icon.svg +0 -4
- package/dist/upload/file-upload/video-icon.svg +0 -4
- package/dist/upload/readme.md +0 -37
- package/dist/upload/transaction/audio-icon-err.svg +0 -4
- package/dist/upload/transaction/audio-icon.svg +0 -4
- package/dist/upload/transaction/error-icon.svg +0 -4
- package/dist/upload/transaction/file-icon-err.svg +0 -4
- package/dist/upload/transaction/file-icon.svg +0 -4
- package/dist/upload/transaction/image-icon-err.svg +0 -4
- package/dist/upload/transaction/image-icon.svg +0 -4
- package/dist/upload/transaction/success-icon.svg +0 -4
- package/dist/upload/transaction/video-icon-err.svg +0 -4
- package/dist/upload/transaction/video-icon.svg +0 -4
- package/dist/wizard/invalid_icon.svg +0 -5
- package/dist/wizard/valid_icon.svg +0 -5
- package/dist/wizard/validation-wrong.svg +0 -6
- 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 -393
- 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 -99
- package/test/Header.test.js +0 -39
- package/test/Heading.test.js +0 -35
- package/test/InputText.test.js +0 -248
- package/test/Link.test.js +0 -43
- package/test/NewTextarea.test.js +0 -195
- 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/Select.test.js +0 -212
- package/test/Sidenav.test.js +0 -45
- package/test/Slider.test.js +0 -82
- 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/TabsForSections.test.js +0 -34
- package/test/Tag.test.js +0 -32
- package/test/TextArea.test.js +0 -52
- package/test/TextInput.test.js +0 -732
- package/test/ToggleGroup.test.js +0 -85
- package/test/Upload.test.js +0 -60
- package/test/Wizard.test.js +0 -130
- package/test/mocks/pngMock.js +0 -1
- package/test/mocks/svgMock.js +0 -1
package/dist/date/readme.md
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# DXC Date Component
|
|
2
|
-
|
|
3
|
-
## Props
|
|
4
|
-
|
|
5
|
-
<table>
|
|
6
|
-
<tr style="background-color: grey">
|
|
7
|
-
<td>Name</td>
|
|
8
|
-
<td>Default</td>
|
|
9
|
-
<td>Description</td>
|
|
10
|
-
</tr>
|
|
11
|
-
<tr>
|
|
12
|
-
<td>value: string</td>
|
|
13
|
-
<td></td>
|
|
14
|
-
<td>The value of the input element.</td>
|
|
15
|
-
</tr>
|
|
16
|
-
<tr>
|
|
17
|
-
<td>format: string</td>
|
|
18
|
-
<td></td>
|
|
19
|
-
<td>The format in which the date value will be displayed. User must use this format when editing the input.</td>
|
|
20
|
-
</tr>
|
|
21
|
-
<tr>
|
|
22
|
-
<td>label: string</td>
|
|
23
|
-
<td></td>
|
|
24
|
-
<td>Text to be placed next to the date component.</td>
|
|
25
|
-
</tr>
|
|
26
|
-
<tr>
|
|
27
|
-
<td>theme: 'light' | 'dark'</td>
|
|
28
|
-
<td><code>'light'</code></td>
|
|
29
|
-
<td>Uses one of the available component themes.</td>
|
|
30
|
-
</tr>
|
|
31
|
-
<tr>
|
|
32
|
-
<td>name: string</td>
|
|
33
|
-
<td></td>
|
|
34
|
-
<td>Name attribute of the input element.</td>
|
|
35
|
-
</tr>
|
|
36
|
-
<tr>
|
|
37
|
-
<td>iconSrc: string</td>
|
|
38
|
-
<td></td>
|
|
39
|
-
<td>The path of an icon to replace the default calendar icon.</td>
|
|
40
|
-
</tr>
|
|
41
|
-
<tr>
|
|
42
|
-
<td>disabled: boolean</td>
|
|
43
|
-
<td><code>false</code></td>
|
|
44
|
-
<td>If true, the component will be disabled.</td>
|
|
45
|
-
</tr>
|
|
46
|
-
<tr>
|
|
47
|
-
<td>required: boolean</td>
|
|
48
|
-
<td><code>false</code></td>
|
|
49
|
-
<td>If true, a red asterisk will appear before the label to indicate to the user that the field is required.</td>
|
|
50
|
-
</tr>
|
|
51
|
-
<tr>
|
|
52
|
-
<td>assistiveText: string</td>
|
|
53
|
-
<td></td>
|
|
54
|
-
<td>Assistive text to be placed at the bottom of the input.</td>
|
|
55
|
-
</tr>
|
|
56
|
-
<tr>
|
|
57
|
-
<td>invalid: boolean</td>
|
|
58
|
-
<td><code>false</code></td>
|
|
59
|
-
<td>If true, the input will change its appearence, showing that the value is not valid.</td>
|
|
60
|
-
</tr>
|
|
61
|
-
<tr>
|
|
62
|
-
<td>disableRipple: boolean</td>
|
|
63
|
-
<td><code>false</code></td>
|
|
64
|
-
<td>If true, the ripple effect will be disabled.</td>
|
|
65
|
-
</tr>
|
|
66
|
-
<tr>
|
|
67
|
-
<td>onChange: function</td>
|
|
68
|
-
<td></td>
|
|
69
|
-
<td>This function will be called when the user types within the input. A string with the current value will be passed to this function and also a date object if the string typed is a valid date<br>
|
|
70
|
-
</td>
|
|
71
|
-
</tr>
|
|
72
|
-
</table>
|
|
73
|
-
|
package/dist/footer/dxc_logo.svg
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<svg id="g10" xmlns="http://www.w3.org/2000/svg" width="280.781" height="32" viewBox="0 0 280.781 32">
|
|
2
|
-
<g id="g12">
|
|
3
|
-
<path id="path14" d="M171.5-54.124v12.539h-3.6V-54.124h-4.973v-3.191h13.54v3.191H171.5" transform="translate(-68.528 65.45)" fill="#fff"/>
|
|
4
|
-
<path id="path16" d="M189.96-41.585V-57.315h12.326v3.079h-8.753v3.191h7.7v3.078h-7.7v3.3h8.87v3.078H189.96" transform="translate(-77.56 65.45)" fill="#fff"/>
|
|
5
|
-
<path id="path18" d="M223.558-41.438a8.1,8.1,0,0,1-8.382-8.1v-.045a8.161,8.161,0,0,1,8.522-8.146,8.6,8.6,0,0,1,6.444,2.431l-2.289,2.543a6.133,6.133,0,0,0-4.178-1.778,4.743,4.743,0,0,0-4.738,4.905v.045a4.752,4.752,0,0,0,4.738,4.95,6,6,0,0,0,4.295-1.845l2.288,2.228a8.491,8.491,0,0,1-6.7,2.813" transform="translate(-86.019 65.583)" fill="#fff"/>
|
|
6
|
-
<path id="path20" d="M254.988-41.585V-47.9h-6.63v6.315h-3.6V-57.315h3.6v6.225h6.63v-6.225h3.594v15.731h-3.594" transform="translate(-95.903 65.45)" fill="#fff"/>
|
|
7
|
-
<path id="path22" d="M285.991-41.585l-7.914-10v10h-3.549V-57.315h3.316l7.657,9.685v-9.685h3.549v15.731h-3.058" transform="translate(-105.869 65.45)" fill="#fff"/>
|
|
8
|
-
<path id="path24" d="M317.2-49.583a4.869,4.869,0,0,0-4.949-4.95,4.793,4.793,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.793,4.793,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.661-3.623-8.661-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.66,3.623,8.66,8.1v.045c0,4.477-3.664,8.145-8.708,8.145" transform="translate(-115.631 65.583)" fill="#fff"/>
|
|
9
|
-
<path id="path26" d="M336.786-41.585V-57.315h3.6v12.584h8.148v3.146H336.786" transform="translate(-126.654 65.45)" fill="#fff"/>
|
|
10
|
-
<path id="path28" d="M372.78-49.583a4.87,4.87,0,0,0-4.949-4.95,4.794,4.794,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.794,4.794,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.662-3.623-8.662-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.661,3.623,8.661,8.1v.045c0,4.477-3.666,8.145-8.708,8.145" transform="translate(-135.016 65.583)" fill="#fff"/>
|
|
11
|
-
<path id="path30" d="M399.735-41.438c-5.09,0-8.592-3.443-8.592-8.1v-.045a8.243,8.243,0,0,1,8.568-8.146,9.18,9.18,0,0,1,6.42,2.16l-2.265,2.634a6.141,6.141,0,0,0-4.272-1.6,4.807,4.807,0,0,0-4.692,4.905v.045a4.8,4.8,0,0,0,4.949,4.995,5.89,5.89,0,0,0,3.384-.945v-2.25h-3.618v-2.992h7.1v6.841a10.837,10.837,0,0,1-6.98,2.5" transform="translate(-145.284 65.583)" fill="#fff"/>
|
|
12
|
-
<path id="path32" d="M428.664-47.855v6.27h-3.6v-6.2l-6.28-9.528h4.2L426.89-51l3.968-6.315h4.085l-6.28,9.46" transform="translate(-154.162 65.45)" fill="#fff"/>
|
|
13
|
-
<path id="path34" d="M84.218-55.737a10.063,10.063,0,0,1,2.589-4.4,9.792,9.792,0,0,1,6.985-2.77h11.328V-69.3H93.792a17.041,17.041,0,0,0-11.8,4.759,16.344,16.344,0,0,0-3.547,5.115,13.247,13.247,0,0,0-1.122,3.688Zm0,4.877a10.065,10.065,0,0,0,2.589,4.4,9.793,9.793,0,0,0,6.985,2.77h11.328V-37.3H93.792a17.042,17.042,0,0,1-11.8-4.759,16.339,16.339,0,0,1-3.547-5.114,13.251,13.251,0,0,1-1.122-3.688ZM63.1-47.98,54.45-37.3H45.873l12.957-16-12.957-16H54.45L63.1-58.619l8.65-10.68h8.578l-12.957,16,12.957,16H71.749ZM48.875-55.737a13.212,13.212,0,0,0-1.122-3.688,16.359,16.359,0,0,0-3.546-5.115,17.043,17.043,0,0,0-11.8-4.759H21.08v6.393H32.408a9.79,9.79,0,0,1,6.985,2.77,10.072,10.072,0,0,1,2.59,4.4Zm0,4.877a13.215,13.215,0,0,1-1.122,3.688,16.353,16.353,0,0,1-3.546,5.114,17.044,17.044,0,0,1-11.8,4.759H21.08v-6.393H32.408a9.791,9.791,0,0,0,6.985-2.77,10.074,10.074,0,0,0,2.59-4.4h6.892" transform="translate(-21.08 69.298)" fill="#fff"/>
|
|
14
|
-
</g>
|
|
15
|
-
</svg>
|
package/dist/footer/readme.md
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# DXC Footer Component
|
|
2
|
-
|
|
3
|
-
## Props
|
|
4
|
-
|
|
5
|
-
<table>
|
|
6
|
-
<tr style="background-color: grey">
|
|
7
|
-
<td>Name</td>
|
|
8
|
-
<td>Default</td>
|
|
9
|
-
<td>Description</td>
|
|
10
|
-
</tr>
|
|
11
|
-
<tr>
|
|
12
|
-
<td>logoSrc: string</td>
|
|
13
|
-
<td></td>
|
|
14
|
-
<td>The path of an icon to replace the theme logo.</td>
|
|
15
|
-
</tr>
|
|
16
|
-
<tr>
|
|
17
|
-
<td>socialLinks: object[]</td>
|
|
18
|
-
<td><code>[]</code></td>
|
|
19
|
-
<td>An array of objects representing the links that will be rendered at the bottom part of the footer. Each object has the following properties:
|
|
20
|
-
<ul>
|
|
21
|
-
<li><b>logoSrc</b>: The path of an icon for the link</li>
|
|
22
|
-
<li><b>href</b>: URL of the page the link goes to</li>
|
|
23
|
-
</ul>
|
|
24
|
-
</td>
|
|
25
|
-
</tr>
|
|
26
|
-
<tr>
|
|
27
|
-
<td>bottomLinks: object[]</td>
|
|
28
|
-
<td><code>[]</code></td>
|
|
29
|
-
<td>An array of objects representing the incon links that will be rendered at the top-right side of the footer. Each object has the following properties:
|
|
30
|
-
<ul>
|
|
31
|
-
<li><b>text</b>: Text for the link</li>
|
|
32
|
-
<li><b>href</b>: URL of the page the link goes to</li>
|
|
33
|
-
</ul>
|
|
34
|
-
</td>
|
|
35
|
-
</tr>
|
|
36
|
-
<tr>
|
|
37
|
-
<td>copyright: string</td>
|
|
38
|
-
<td></td>
|
|
39
|
-
<td>The text that will be displayed as copyright disclaimer.</td>
|
|
40
|
-
</tr>
|
|
41
|
-
</table>
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
var _react = _interopRequireDefault(require("react"));
|
|
6
|
-
|
|
7
|
-
var _react2 = require("@storybook/react");
|
|
8
|
-
|
|
9
|
-
var _addonActions = require("@storybook/addon-actions");
|
|
10
|
-
|
|
11
|
-
require("../common/OpenSans.css");
|
|
12
|
-
|
|
13
|
-
var _addonKnobs = require("@storybook/addon-knobs");
|
|
14
|
-
|
|
15
|
-
var _readme = _interopRequireDefault(require("./readme.md"));
|
|
16
|
-
|
|
17
|
-
var _Header = _interopRequireDefault(require("./Header"));
|
|
18
|
-
|
|
19
|
-
var _Dropdown = _interopRequireDefault(require("../dropdown/Dropdown"));
|
|
20
|
-
|
|
21
|
-
var _Switch = _interopRequireDefault(require("../switch/Switch"));
|
|
22
|
-
|
|
23
|
-
var selectOption = function selectOption(option) {
|
|
24
|
-
console.log(option);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
var onChange = (0, _addonActions.action)("onChange");
|
|
28
|
-
var onClick = (0, _addonActions.action)("headerLogo Clicked");
|
|
29
|
-
var optionsWithoutIcon = [{
|
|
30
|
-
value: 1,
|
|
31
|
-
label: "Amazon"
|
|
32
|
-
}, {
|
|
33
|
-
value: 2,
|
|
34
|
-
label: "Ebay"
|
|
35
|
-
}, {
|
|
36
|
-
value: 3,
|
|
37
|
-
label: "Apple"
|
|
38
|
-
}];
|
|
39
|
-
(0, _react2.storiesOf)("Form Components|Header", module).add("Component", function () {
|
|
40
|
-
return _react["default"].createElement("div", {
|
|
41
|
-
style: {
|
|
42
|
-
background: "lightgrey"
|
|
43
|
-
}
|
|
44
|
-
}, _react["default"].createElement("div", null, _react["default"].createElement("div", {
|
|
45
|
-
style: {
|
|
46
|
-
marginBottom: "20px"
|
|
47
|
-
}
|
|
48
|
-
}, _react["default"].createElement(_Header["default"], {
|
|
49
|
-
theme: "light",
|
|
50
|
-
underlined: false,
|
|
51
|
-
onClick: onClick
|
|
52
|
-
}, _react["default"].createElement(_Dropdown["default"], {
|
|
53
|
-
theme: "light",
|
|
54
|
-
onSelectOption: selectOption,
|
|
55
|
-
options: optionsWithoutIcon
|
|
56
|
-
}), _react["default"].createElement(_Dropdown["default"], {
|
|
57
|
-
theme: "light",
|
|
58
|
-
onSelectOption: selectOption,
|
|
59
|
-
label: "Dropdown",
|
|
60
|
-
options: optionsWithoutIcon
|
|
61
|
-
}), _react["default"].createElement(_Switch["default"], {
|
|
62
|
-
checked: false,
|
|
63
|
-
label: "Switch component",
|
|
64
|
-
labelPosition: "after",
|
|
65
|
-
theme: "dark",
|
|
66
|
-
onChange: onChange
|
|
67
|
-
}))), _react["default"].createElement("div", null, _react["default"].createElement(_Header["default"], {
|
|
68
|
-
theme: "light",
|
|
69
|
-
underlined: true,
|
|
70
|
-
onClick: onClick
|
|
71
|
-
}, _react["default"].createElement(_Dropdown["default"], {
|
|
72
|
-
theme: "light",
|
|
73
|
-
onSelectOption: selectOption,
|
|
74
|
-
options: optionsWithoutIcon,
|
|
75
|
-
mode: "outlined"
|
|
76
|
-
}), _react["default"].createElement(_Dropdown["default"], {
|
|
77
|
-
theme: "light",
|
|
78
|
-
onSelectOption: selectOption,
|
|
79
|
-
label: "Dropdown",
|
|
80
|
-
options: optionsWithoutIcon,
|
|
81
|
-
mode: "outlined"
|
|
82
|
-
}), _react["default"].createElement(_Switch["default"], {
|
|
83
|
-
checked: false,
|
|
84
|
-
label: "Switch component",
|
|
85
|
-
labelPosition: "after",
|
|
86
|
-
theme: "light",
|
|
87
|
-
onChange: onChange
|
|
88
|
-
})))), _react["default"].createElement("div", {
|
|
89
|
-
style: {
|
|
90
|
-
paddingTop: "20px",
|
|
91
|
-
height: "200px"
|
|
92
|
-
}
|
|
93
|
-
}, _react["default"].createElement("div", null, _react["default"].createElement(_Header["default"], {
|
|
94
|
-
theme: "dark",
|
|
95
|
-
underlined: false
|
|
96
|
-
}, _react["default"].createElement(_Dropdown["default"], {
|
|
97
|
-
theme: "dark",
|
|
98
|
-
onSelectOption: selectOption,
|
|
99
|
-
options: optionsWithoutIcon,
|
|
100
|
-
mode: "basic"
|
|
101
|
-
}), _react["default"].createElement(_Dropdown["default"], {
|
|
102
|
-
theme: "dark",
|
|
103
|
-
onSelectOption: selectOption,
|
|
104
|
-
label: "Dropdown",
|
|
105
|
-
options: optionsWithoutIcon,
|
|
106
|
-
mode: "basic"
|
|
107
|
-
}), _react["default"].createElement(_Switch["default"], {
|
|
108
|
-
checked: false,
|
|
109
|
-
label: "Switch component",
|
|
110
|
-
labelPosition: "after",
|
|
111
|
-
theme: "light",
|
|
112
|
-
onChange: onChange
|
|
113
|
-
}))), _react["default"].createElement("div", {
|
|
114
|
-
style: {
|
|
115
|
-
marginTop: "20px"
|
|
116
|
-
}
|
|
117
|
-
}, _react["default"].createElement(_Header["default"], {
|
|
118
|
-
theme: "dark",
|
|
119
|
-
underlined: true
|
|
120
|
-
}, _react["default"].createElement(_Dropdown["default"], {
|
|
121
|
-
theme: "dark",
|
|
122
|
-
onSelectOption: selectOption,
|
|
123
|
-
options: optionsWithoutIcon,
|
|
124
|
-
mode: "outlined"
|
|
125
|
-
}), _react["default"].createElement(_Dropdown["default"], {
|
|
126
|
-
theme: "dark",
|
|
127
|
-
onSelectOption: selectOption,
|
|
128
|
-
label: "Dropdown",
|
|
129
|
-
options: optionsWithoutIcon,
|
|
130
|
-
mode: "outlined"
|
|
131
|
-
}), _react["default"].createElement(_Switch["default"], {
|
|
132
|
-
checked: false,
|
|
133
|
-
label: "Switch component",
|
|
134
|
-
labelPosition: "after",
|
|
135
|
-
theme: "dark",
|
|
136
|
-
onChange: onChange
|
|
137
|
-
})))));
|
|
138
|
-
}, {
|
|
139
|
-
notes: {
|
|
140
|
-
markdown: _readme["default"]
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
var knobProps = function knobProps() {
|
|
145
|
-
return {
|
|
146
|
-
theme: (0, _addonKnobs.select)("Theme", {
|
|
147
|
-
light: "light",
|
|
148
|
-
dark: "dark"
|
|
149
|
-
}, "light"),
|
|
150
|
-
underlined: (0, _addonKnobs["boolean"])("Underlined", false)
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
(0, _react2.storiesOf)("Form Components|Header", module).add("Knobs example", function () {
|
|
155
|
-
var props = knobProps();
|
|
156
|
-
return _react["default"].createElement("div", {
|
|
157
|
-
style: {
|
|
158
|
-
height: "250px",
|
|
159
|
-
background: props.theme === "dark" && "black" || "transparent"
|
|
160
|
-
}
|
|
161
|
-
}, _react["default"].createElement(_Header["default"], props, _react["default"].createElement(_Dropdown["default"], {
|
|
162
|
-
theme: props.theme,
|
|
163
|
-
mode: props.underlined ? "outlined" : "basic",
|
|
164
|
-
onSelectOption: selectOption,
|
|
165
|
-
options: optionsWithoutIcon,
|
|
166
|
-
label: "Dropdown"
|
|
167
|
-
})), _react["default"].createElement("div", {
|
|
168
|
-
style: {
|
|
169
|
-
marginTop: "20px"
|
|
170
|
-
}
|
|
171
|
-
}, _react["default"].createElement(_Header["default"], props)));
|
|
172
|
-
}, {
|
|
173
|
-
notes: {
|
|
174
|
-
markdown: _readme["default"]
|
|
175
|
-
}
|
|
176
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="73" height="40" viewBox="0 0 73 40">
|
|
2
|
-
<g id="g10" transform="translate(0)">
|
|
3
|
-
<g id="g12">
|
|
4
|
-
<path id="path14" d="M91.613-28.177v2.514H90.231V-28.15l-2.415-3.82h1.616l1.5,2.532,1.526-2.532h1.571ZM83.9-25.555A3.15,3.15,0,0,1,80.6-28.8v-.018a3.231,3.231,0,0,1,3.294-3.262,3.442,3.442,0,0,1,2.469.865l-.87,1.054a2.311,2.311,0,0,0-1.643-.64,1.891,1.891,0,0,0-1.8,1.964v.018a1.886,1.886,0,0,0,1.9,2,2.2,2.2,0,0,0,1.3-.378v-.9H83.858v-1.2h2.729v2.738A4.071,4.071,0,0,1,83.9-25.555Zm-6.416-3.261a1.913,1.913,0,0,0-1.9-1.982A1.883,1.883,0,0,0,73.7-28.835v.018a1.913,1.913,0,0,0,1.9,1.982A1.883,1.883,0,0,0,77.486-28.8Zm-1.9,3.261a3.225,3.225,0,0,1-3.33-3.243v-.018A3.255,3.255,0,0,1,75.6-32.078a3.225,3.225,0,0,1,3.331,3.243v.018A3.255,3.255,0,0,1,75.583-25.555Zm-9.173-.108V-31.97h1.382v5.045h3.133v1.261Zm-3.433-3.153a1.913,1.913,0,0,0-1.9-1.982,1.883,1.883,0,0,0-1.886,1.964v.018a1.913,1.913,0,0,0,1.9,1.982A1.883,1.883,0,0,0,62.978-28.8Zm-1.9,3.261a3.225,3.225,0,0,1-3.33-3.243v-.018a3.255,3.255,0,0,1,3.348-3.262,3.225,3.225,0,0,1,3.331,3.243v.018A3.255,3.255,0,0,1,61.075-25.555Zm-6.508-.108-3.043-4.009v4.009H50.159V-31.97h1.275l2.944,3.883V-31.97h1.364v6.306Zm-8.246,0v-2.531h-2.55v2.531H42.389V-31.97h1.382v2.5h2.55v-2.5H47.7v6.306Zm-8.432.108A3.178,3.178,0,0,1,34.666-28.8v-.018a3.2,3.2,0,0,1,3.276-3.262,3.237,3.237,0,0,1,2.478.973l-.88,1.018a2.315,2.315,0,0,0-1.606-.712,1.866,1.866,0,0,0-1.822,1.964v.018a1.87,1.87,0,0,0,1.822,1.982,2.265,2.265,0,0,0,1.651-.739l.88.891A3.206,3.206,0,0,1,37.889-25.555Zm-9.805-.108V-31.97h4.739v1.235H29.458v1.279h2.962v1.234H29.458V-26.9h3.411v1.234ZM24.322-30.69v5.027H22.939V-30.69H21.028v-1.28h5.206v1.28H24.322" transform="translate(-21.028 65.555)" fill="#100f0d"/>
|
|
5
|
-
<path id="path16" d="M75.836-76.712a8.975,8.975,0,0,1,2.246-3.9,8.393,8.393,0,0,1,6.058-2.457h9.824v-5.67H84.139a14.611,14.611,0,0,0-10.232,4.221,14.509,14.509,0,0,0-3.076,4.536,11.913,11.913,0,0,0-.973,3.271Zm0,4.325a8.978,8.978,0,0,0,2.246,3.9,8.394,8.394,0,0,0,6.058,2.457h9.824v5.67H84.139A14.611,14.611,0,0,1,73.907-64.58a14.506,14.506,0,0,1-3.076-4.536,11.91,11.91,0,0,1-.973-3.271ZM57.522-69.832l-7.5,9.473H42.581L53.818-74.55,42.581-88.739H50.02l7.5,9.472,7.5-9.472h7.439L61.225-74.55l11.237,14.19H65.023Zm-12.336-6.88a11.935,11.935,0,0,0-.973-3.271,14.515,14.515,0,0,0-3.076-4.536A14.612,14.612,0,0,0,30.9-88.739H21.081v5.67H30.9a8.394,8.394,0,0,1,6.058,2.457,8.978,8.978,0,0,1,2.246,3.9Zm0,4.325a11.932,11.932,0,0,1-.973,3.271,14.511,14.511,0,0,1-3.076,4.536A14.611,14.611,0,0,1,30.9-60.359H21.081v-5.67H30.9a8.4,8.4,0,0,0,6.058-2.457,8.981,8.981,0,0,0,2.246-3.9h5.978" transform="translate(-21.049 88.739)" fill="#100f0d"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,8H21a1,1,0,0,0,0-2H3A1,1,0,0,0,3,8Zm18,8H3a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Zm0-5H3a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Z" fill="black"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,8H21a1,1,0,0,0,0-2H3A1,1,0,0,0,3,8Zm18,8H3a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Zm0-5H3a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Z" fill="white"/></svg>
|
package/dist/header/readme.md
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# DXC Header Component
|
|
2
|
-
|
|
3
|
-
## Props
|
|
4
|
-
|
|
5
|
-
<table>
|
|
6
|
-
<tr style="background-color: grey">
|
|
7
|
-
<td>Name</td>
|
|
8
|
-
<td>Default</td>
|
|
9
|
-
<td>Description</td>
|
|
10
|
-
</tr>
|
|
11
|
-
<tr>
|
|
12
|
-
<td>theme: 'light' | 'dark'</td>
|
|
13
|
-
<td><code>'light'</code></td>
|
|
14
|
-
<td>Uses one of the available component themes.</td>
|
|
15
|
-
</tr>
|
|
16
|
-
<tr>
|
|
17
|
-
<td>underline: boolean</td>
|
|
18
|
-
<td><code>false</code></td>
|
|
19
|
-
<td>Wether a contrast line should appear at the bottom of the header.</td>
|
|
20
|
-
</tr>
|
|
21
|
-
<tr>
|
|
22
|
-
<td>logoSrc: string</td>
|
|
23
|
-
<td><code>'default'</code></td>
|
|
24
|
-
<td>The path of an icon to replace the theme logo.</td>
|
|
25
|
-
</tr>
|
|
26
|
-
<tr>
|
|
27
|
-
<td>onClick: function</td>
|
|
28
|
-
<td></td>
|
|
29
|
-
<td>This function will be called when the user clicks the header logo.<br>
|
|
30
|
-
</td>
|
|
31
|
-
</tr>
|
|
32
|
-
</table>
|
|
33
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" style=""><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"/><g class="currentLayer" style=""><title>Layer 1</title><path d="M0 0h24v24H0V0z" fill="transparent" id="svg_1" class="" stroke="transparent" stroke-opacity="1" fill-opacity="1"/><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" id="svg_2" class="selected" stroke="#eb1a1a" stroke-opacity="1" fill="#FF6161" fill-opacity="1"/></g></svg>
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# DXC Input Text Component
|
|
2
|
-
|
|
3
|
-
## Props
|
|
4
|
-
|
|
5
|
-
<table>
|
|
6
|
-
<tr style="background-color: grey">
|
|
7
|
-
<td>Name</td>
|
|
8
|
-
<td>Default</td>
|
|
9
|
-
<td>Description</td>
|
|
10
|
-
</tr>
|
|
11
|
-
<tr>
|
|
12
|
-
<td>value: string</td>
|
|
13
|
-
<td><code></code></td>
|
|
14
|
-
<td>The value of the input element.</td>
|
|
15
|
-
</tr>
|
|
16
|
-
<tr>
|
|
17
|
-
<td>label: string</td>
|
|
18
|
-
<td></td>
|
|
19
|
-
<td>Text to be placed next to the input.</td>
|
|
20
|
-
</tr>
|
|
21
|
-
<tr>
|
|
22
|
-
<td>assistiveText: string</td>
|
|
23
|
-
<td></td>
|
|
24
|
-
<td>Assistive text to be placed at the bottom of the input.</td>
|
|
25
|
-
</tr>
|
|
26
|
-
<tr>
|
|
27
|
-
<td>prefix: string</td>
|
|
28
|
-
<td></td>
|
|
29
|
-
<td>A prefix to be placed before the input value. Use prefixIconSrc in case the prefix needs to be an icon.</td>
|
|
30
|
-
</tr>
|
|
31
|
-
<tr>
|
|
32
|
-
<td>suffix: string</td>
|
|
33
|
-
<td></td>
|
|
34
|
-
<td>A suffix to be placed after the input value. Use suffixIconSrc in case the suffix needs to be an icon.</td>
|
|
35
|
-
</tr>
|
|
36
|
-
<tr>
|
|
37
|
-
<td>prefixIconSrc: string</td>
|
|
38
|
-
<td></td>
|
|
39
|
-
<td>The path of an icon to be placed before the input value.</td>
|
|
40
|
-
</tr>
|
|
41
|
-
<tr>
|
|
42
|
-
<td>suffixIconSrc: string</td>
|
|
43
|
-
<td></td>
|
|
44
|
-
<td>The path of an icon to be placed after the input value.</td>
|
|
45
|
-
</tr>
|
|
46
|
-
<tr>
|
|
47
|
-
<td>theme: 'light' | 'dark'</td>
|
|
48
|
-
<td><code>'light'</code></td>
|
|
49
|
-
<td>Uses one of the available component themes.</td>
|
|
50
|
-
</tr>
|
|
51
|
-
<tr>
|
|
52
|
-
<td>name: string</td>
|
|
53
|
-
<td></td>
|
|
54
|
-
<td>Name attribute of the input element.</td>
|
|
55
|
-
</tr>
|
|
56
|
-
<tr>
|
|
57
|
-
<td>disabled: boolean</td>
|
|
58
|
-
<td><code>false</code></td>
|
|
59
|
-
<td>If true, the component will be disabled.</td>
|
|
60
|
-
</tr>
|
|
61
|
-
<tr>
|
|
62
|
-
<td>required: boolean</td>
|
|
63
|
-
<td><code>false</code></td>
|
|
64
|
-
<td>If true, the input will change its appearence, showing that the value is required.</td>
|
|
65
|
-
</tr>
|
|
66
|
-
<tr>
|
|
67
|
-
<td>invalid: boolean</td>
|
|
68
|
-
<td><code>false</code></td>
|
|
69
|
-
<td>If true, the input will change its appearence, showing that the value is valid.</td>
|
|
70
|
-
</tr>
|
|
71
|
-
<tr>
|
|
72
|
-
<td>multiline: boolean</td>
|
|
73
|
-
<td><code>false</code></td>
|
|
74
|
-
<td>If true, a resizable text area will be displayed.</td>
|
|
75
|
-
</tr>
|
|
76
|
-
<tr>
|
|
77
|
-
<td>onChange: function</td>
|
|
78
|
-
<td></td>
|
|
79
|
-
<td>This function will be called when the user changes the value of the input. The new value will be passed as a parameter.</td>
|
|
80
|
-
</tr>
|
|
81
|
-
<tr>
|
|
82
|
-
<td>onBlur: function</td>
|
|
83
|
-
<td></td>
|
|
84
|
-
<td>This function will be called when the focus moves away from the input. The input value will be passed as a parameter.</td>
|
|
85
|
-
</tr>
|
|
86
|
-
<tr>
|
|
87
|
-
<td>onClickIcon: function</td>
|
|
88
|
-
<td></td>
|
|
89
|
-
<td>This function will be called when either of the two icons, prefixIcon or sufixIcon, is clicked.</td>
|
|
90
|
-
</tr>
|
|
91
|
-
</table>
|
package/dist/layout/facebook.svg
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="438.536px" height="438.536px" viewBox="0 0 438.536 438.536" style="enable-background:new 0 0 438.536 438.536;"
|
|
6
|
-
xml:space="preserve" fill="#FFFFFF">
|
|
7
|
-
<g>
|
|
8
|
-
<path d="M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123
|
|
9
|
-
C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126
|
|
10
|
-
h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
|
|
11
|
-
C438.532,59.576,430.49,40.204,414.41,24.123z M373.155,225.548h-49.963V406.84h-74.802V225.548H210.99V163.02h37.401v-37.402
|
|
12
|
-
c0-26.838,6.283-47.107,18.843-60.813c12.559-13.706,33.304-20.555,62.242-20.555h49.963v62.526h-31.401
|
|
13
|
-
c-10.663,0-17.467,1.853-20.417,5.568c-2.949,3.711-4.428,10.23-4.428,19.558v31.119h56.534L373.155,225.548z"/>
|
|
14
|
-
</g>
|
|
15
|
-
<g>
|
|
16
|
-
</g>
|
|
17
|
-
<g>
|
|
18
|
-
</g>
|
|
19
|
-
<g>
|
|
20
|
-
</g>
|
|
21
|
-
<g>
|
|
22
|
-
</g>
|
|
23
|
-
<g>
|
|
24
|
-
</g>
|
|
25
|
-
<g>
|
|
26
|
-
</g>
|
|
27
|
-
<g>
|
|
28
|
-
</g>
|
|
29
|
-
<g>
|
|
30
|
-
</g>
|
|
31
|
-
<g>
|
|
32
|
-
</g>
|
|
33
|
-
<g>
|
|
34
|
-
</g>
|
|
35
|
-
<g>
|
|
36
|
-
</g>
|
|
37
|
-
<g>
|
|
38
|
-
</g>
|
|
39
|
-
<g>
|
|
40
|
-
</g>
|
|
41
|
-
<g>
|
|
42
|
-
</g>
|
|
43
|
-
<g>
|
|
44
|
-
</g>
|
|
45
|
-
</svg>
|
package/dist/layout/linkedin.svg
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="438.536px" height="438.536px" viewBox="0 0 438.536 438.536" style="enable-background:new 0 0 438.536 438.536;"
|
|
6
|
-
xml:space="preserve" fill="#FFFFFF">
|
|
7
|
-
<g>
|
|
8
|
-
<path d="M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123
|
|
9
|
-
C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126
|
|
10
|
-
h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
|
|
11
|
-
C438.532,59.576,430.49,40.204,414.41,24.123z M133.618,367.157H67.666V169.016h65.952V367.157z M127.626,132.332
|
|
12
|
-
c-6.851,6.567-15.893,9.851-27.124,9.851h-0.288c-10.848,0-19.648-3.284-26.407-9.851c-6.76-6.567-10.138-14.703-10.138-24.41
|
|
13
|
-
c0-9.897,3.476-18.083,10.421-24.556c6.95-6.471,15.942-9.708,26.98-9.708c11.039,0,19.89,3.237,26.553,9.708
|
|
14
|
-
c6.661,6.473,10.088,14.659,10.277,24.556C137.899,117.625,134.477,125.761,127.626,132.332z M370.873,367.157h-65.952v-105.92
|
|
15
|
-
c0-29.879-11.036-44.823-33.116-44.823c-8.374,0-15.42,2.331-21.128,6.995c-5.715,4.661-9.996,10.324-12.847,16.991
|
|
16
|
-
c-1.335,3.422-1.999,8.75-1.999,15.981v110.775h-65.952c0.571-119.529,0.571-185.579,0-198.142h65.952v27.974
|
|
17
|
-
c13.867-21.681,33.558-32.544,59.101-32.544c22.84,0,41.21,7.52,55.104,22.554c13.895,15.037,20.841,37.214,20.841,66.519v113.64
|
|
18
|
-
H370.873z"/>
|
|
19
|
-
</g>
|
|
20
|
-
<g>
|
|
21
|
-
</g>
|
|
22
|
-
<g>
|
|
23
|
-
</g>
|
|
24
|
-
<g>
|
|
25
|
-
</g>
|
|
26
|
-
<g>
|
|
27
|
-
</g>
|
|
28
|
-
<g>
|
|
29
|
-
</g>
|
|
30
|
-
<g>
|
|
31
|
-
</g>
|
|
32
|
-
<g>
|
|
33
|
-
</g>
|
|
34
|
-
<g>
|
|
35
|
-
</g>
|
|
36
|
-
<g>
|
|
37
|
-
</g>
|
|
38
|
-
<g>
|
|
39
|
-
</g>
|
|
40
|
-
<g>
|
|
41
|
-
</g>
|
|
42
|
-
<g>
|
|
43
|
-
</g>
|
|
44
|
-
<g>
|
|
45
|
-
</g>
|
|
46
|
-
<g>
|
|
47
|
-
</g>
|
|
48
|
-
<g>
|
|
49
|
-
</g>
|
|
50
|
-
</svg>
|
package/dist/layout/twitter.svg
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="438.536px" height="438.536px" viewBox="0 0 438.536 438.536" style="enable-background:new 0 0 438.536 438.536;"
|
|
6
|
-
xml:space="preserve" fill="#FFFFFF">
|
|
7
|
-
<g>
|
|
8
|
-
<path d="M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123
|
|
9
|
-
C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126
|
|
10
|
-
h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
|
|
11
|
-
C438.532,59.576,430.49,40.204,414.41,24.123z M335.471,168.735c0.191,1.713,0.288,4.278,0.288,7.71
|
|
12
|
-
c0,15.989-2.334,32.025-6.995,48.104c-4.661,16.087-11.8,31.504-21.416,46.254c-9.606,14.749-21.074,27.791-34.396,39.115
|
|
13
|
-
c-13.325,11.32-29.311,20.365-47.968,27.117c-18.648,6.762-38.637,10.143-59.953,10.143c-33.116,0-63.76-8.952-91.931-26.836
|
|
14
|
-
c4.568,0.568,9.329,0.855,14.275,0.855c27.6,0,52.439-8.565,74.519-25.7c-12.941-0.185-24.506-4.179-34.688-11.991
|
|
15
|
-
c-10.185-7.803-17.273-17.699-21.271-29.691c4.947,0.76,8.658,1.137,11.132,1.137c4.187,0,9.042-0.76,14.56-2.279
|
|
16
|
-
c-13.894-2.669-25.598-9.562-35.115-20.697c-9.519-11.136-14.277-23.84-14.277-38.114v-0.571
|
|
17
|
-
c10.085,4.755,19.602,7.229,28.549,7.422c-17.321-11.613-25.981-28.265-25.981-49.963c0-10.66,2.758-20.747,8.278-30.264
|
|
18
|
-
c15.035,18.464,33.311,33.213,54.816,44.252c21.507,11.038,44.54,17.227,69.092,18.558c-0.95-3.616-1.427-8.186-1.427-13.704
|
|
19
|
-
c0-16.562,5.853-30.692,17.56-42.399c11.703-11.706,25.837-17.561,42.394-17.561c17.515,0,32.079,6.283,43.688,18.846
|
|
20
|
-
c13.134-2.474,25.892-7.33,38.26-14.56c-4.757,14.652-13.613,25.788-26.55,33.402c12.368-1.716,23.88-4.95,34.537-9.708
|
|
21
|
-
C357.458,149.793,347.462,160.166,335.471,168.735z"/>
|
|
22
|
-
</g>
|
|
23
|
-
<g>
|
|
24
|
-
</g>
|
|
25
|
-
<g>
|
|
26
|
-
</g>
|
|
27
|
-
<g>
|
|
28
|
-
</g>
|
|
29
|
-
<g>
|
|
30
|
-
</g>
|
|
31
|
-
<g>
|
|
32
|
-
</g>
|
|
33
|
-
<g>
|
|
34
|
-
</g>
|
|
35
|
-
<g>
|
|
36
|
-
</g>
|
|
37
|
-
<g>
|
|
38
|
-
</g>
|
|
39
|
-
<g>
|
|
40
|
-
</g>
|
|
41
|
-
<g>
|
|
42
|
-
</g>
|
|
43
|
-
<g>
|
|
44
|
-
</g>
|
|
45
|
-
<g>
|
|
46
|
-
</g>
|
|
47
|
-
<g>
|
|
48
|
-
</g>
|
|
49
|
-
<g>
|
|
50
|
-
</g>
|
|
51
|
-
<g>
|
|
52
|
-
</g>
|
|
53
|
-
</svg>
|
package/dist/link/readme.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# DXC Input Text Component
|
|
2
|
-
|
|
3
|
-
## Props
|
|
4
|
-
|
|
5
|
-
<table>
|
|
6
|
-
<tr style="background-color: grey">
|
|
7
|
-
<td>Name</td>
|
|
8
|
-
<td>Default</td>
|
|
9
|
-
<td>Description</td>
|
|
10
|
-
</tr>
|
|
11
|
-
<tr>
|
|
12
|
-
<td>underlined: 'boolean'</td>
|
|
13
|
-
<td><code>false</code></td>
|
|
14
|
-
<td>If true, the text is underlined.</td>
|
|
15
|
-
</tr>
|
|
16
|
-
<tr>
|
|
17
|
-
<td>color: boolean</td>
|
|
18
|
-
<td><code>false</code></td>
|
|
19
|
-
<td>If true, the link have the default colors.</td>
|
|
20
|
-
</tr>
|
|
21
|
-
<tr>
|
|
22
|
-
<td>text: string</td>
|
|
23
|
-
<td></td>
|
|
24
|
-
<td>Link text.</td>
|
|
25
|
-
</tr>
|
|
26
|
-
<tr>
|
|
27
|
-
<td>iconSrc: string</td>
|
|
28
|
-
<td></td>
|
|
29
|
-
<td>Source of the icon.</td>
|
|
30
|
-
</tr>
|
|
31
|
-
<tr>
|
|
32
|
-
<td>iconPosition: 'before' | 'after'</td>
|
|
33
|
-
<td><code>before</code></td>
|
|
34
|
-
<td>Indicates the position of the icon in the component.</td>
|
|
35
|
-
</tr>
|
|
36
|
-
<tr>
|
|
37
|
-
<td>href: string</td>
|
|
38
|
-
<td></td>
|
|
39
|
-
<td>Page to be opened when the user clicks on the link.</td>
|
|
40
|
-
</tr>
|
|
41
|
-
<tr>
|
|
42
|
-
<td>theme: 'light' | 'dark'</td>
|
|
43
|
-
<td><code>light</code></td>
|
|
44
|
-
<td>Theme of the component.</td>
|
|
45
|
-
</tr>
|
|
46
|
-
<tr>
|
|
47
|
-
<td>newWindow: boolean</td>
|
|
48
|
-
<td><code>false</code></td>
|
|
49
|
-
<td>If true, the page is opened in a new browser tab.</td>
|
|
50
|
-
</tr>
|
|
51
|
-
</table>
|