@telus-uds/theme-allium 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/android/ButtonGroupItem.json +1 -1
- package/build/android/CardGroup.json +4 -0
- package/build/android/DownloadApp.json +41 -0
- package/build/android/Link.json +9 -1
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +75 -0
- package/build/android/schema.json +1475 -997
- package/build/android/theme.json +171 -3
- package/build/ios/ButtonGroupItem.json +1 -1
- package/build/ios/CardGroup.json +4 -0
- package/build/ios/DownloadApp.json +41 -0
- package/build/ios/Link.json +9 -1
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +75 -0
- package/build/ios/schema.json +1475 -997
- package/build/ios/theme.json +171 -3
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +1 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +2 -2
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +1 -1
- package/build/rn/CardGroup.js +5 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +1 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -1
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/DownloadApp.js +62 -0
- package/build/rn/ExpandCollapse.js +1 -1
- package/build/rn/ExpandCollapseControl.js +1 -1
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +1 -1
- package/build/rn/ExpandCollapsePanel.js +1 -1
- package/build/rn/Feedback.js +1 -1
- package/build/rn/Fieldset.js +1 -1
- package/build/rn/FileUpload.js +1 -1
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +1 -1
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +3 -2
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +1 -1
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +1 -1
- package/build/rn/OrderedList.js +1 -1
- package/build/rn/Pagination.js +1 -1
- package/build/rn/PaginationPageButton.js +1 -1
- package/build/rn/PaginationSideButton.js +1 -1
- package/build/rn/PreviewCard.js +1 -1
- package/build/rn/PriceLockup.js +1 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +1 -1
- package/build/rn/ProgressBar.js +1 -1
- package/build/rn/QuantitySelector.js +1 -1
- package/build/rn/QuantitySelectorSideButton.js +1 -1
- package/build/rn/QuickLinks.js +1 -1
- package/build/rn/QuickLinksButton.js +1 -1
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +1 -1
- package/build/rn/QuickLinksFeatureItem.js +1 -1
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +1 -1
- package/build/rn/RadioCard.js +1 -1
- package/build/rn/RadioCardGroup.js +1 -1
- package/build/rn/RadioGroup.js +1 -1
- package/build/rn/Ribbon.js +1 -1
- package/build/rn/Search.js +1 -1
- package/build/rn/SearchButton.js +1 -1
- package/build/rn/Select.js +1 -1
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +1 -1
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +1 -1
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +1 -1
- package/build/rn/SplashButtonWithDetails.js +1 -1
- package/build/rn/StackView.js +1 -1
- package/build/rn/Status.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +34 -0
- package/build/rn/TabBarItem.js +69 -0
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +1 -1
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +1 -1
- package/build/rn/TermsAndConditions.js +1 -1
- package/build/rn/Testimonial.js +1 -1
- package/build/rn/TextArea.js +1 -1
- package/build/rn/TextInput.js +1 -1
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +1 -1
- package/build/rn/ToggleSwitchGroup.js +1 -1
- package/build/rn/Tooltip.js +1 -1
- package/build/rn/TooltipButton.js +1 -1
- package/build/rn/Typography.js +1 -1
- package/build/rn/Video.js +1 -1
- package/build/rn/VideoButton.js +1 -1
- package/build/rn/VideoControlBar.js +1 -1
- package/build/rn/VideoMenu.js +1 -1
- package/build/rn/VideoMiddleControlButton.js +1 -1
- package/build/rn/VideoPicker.js +1 -1
- package/build/rn/VideoPickerSlider.js +1 -1
- package/build/rn/VideoPickerThumbnail.js +1 -1
- package/build/rn/VideoProgressBar.js +1 -1
- package/build/rn/VideoVolumeSlider.js +1 -1
- package/build/rn/WaffleGrid.js +1 -1
- package/build/rn/schema.json +1475 -997
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +148 -4
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +1 -1
- package/build/web/Breadcrumbs.js +1 -1
- package/build/web/Button.js +1 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +2 -2
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +1 -1
- package/build/web/CardGroup.js +5 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +1 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -1
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/DownloadApp.js +62 -0
- package/build/web/ExpandCollapse.js +1 -1
- package/build/web/ExpandCollapseControl.js +1 -1
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +1 -1
- package/build/web/ExpandCollapsePanel.js +1 -1
- package/build/web/Feedback.js +1 -1
- package/build/web/Fieldset.js +1 -1
- package/build/web/FileUpload.js +1 -1
- package/build/web/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +1 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +1 -1
- package/build/web/Image.js +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +3 -2
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +1 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +1 -1
- package/build/web/OrderedList.js +1 -1
- package/build/web/Pagination.js +1 -1
- package/build/web/PaginationPageButton.js +1 -1
- package/build/web/PaginationSideButton.js +1 -1
- package/build/web/PreviewCard.js +1 -1
- package/build/web/PriceLockup.js +1 -1
- package/build/web/ProductCard.js +1 -1
- package/build/web/Progress.js +1 -1
- package/build/web/ProgressBar.js +1 -1
- package/build/web/QuantitySelector.js +1 -1
- package/build/web/QuantitySelectorSideButton.js +1 -1
- package/build/web/QuickLinks.js +1 -1
- package/build/web/QuickLinksButton.js +1 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +1 -1
- package/build/web/QuickLinksFeatureItem.js +1 -1
- package/build/web/QuickLinksList.js +1 -1
- package/build/web/Radio.js +1 -1
- package/build/web/RadioCard.js +1 -1
- package/build/web/RadioCardGroup.js +1 -1
- package/build/web/RadioGroup.js +1 -1
- package/build/web/Ribbon.js +1 -1
- package/build/web/Search.js +1 -1
- package/build/web/SearchButton.js +1 -1
- package/build/web/Select.js +1 -1
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +1 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +1 -1
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +1 -1
- package/build/web/SplashButtonWithDetails.js +1 -1
- package/build/web/StackView.js +1 -1
- package/build/web/Status.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/TabBar.js +34 -0
- package/build/web/TabBarItem.js +69 -0
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +1 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +1 -1
- package/build/web/TermsAndConditions.js +1 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +1 -1
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +1 -1
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +1 -1
- package/build/web/Typography.js +1 -1
- package/build/web/Video.js +1 -1
- package/build/web/VideoButton.js +1 -1
- package/build/web/VideoControlBar.js +1 -1
- package/build/web/VideoMenu.js +1 -1
- package/build/web/VideoMiddleControlButton.js +1 -1
- package/build/web/VideoPicker.js +1 -1
- package/build/web/VideoPickerSlider.js +1 -1
- package/build/web/VideoPickerThumbnail.js +1 -1
- package/build/web/VideoProgressBar.js +1 -1
- package/build/web/VideoVolumeSlider.js +1 -1
- package/build/web/WaffleGrid.js +1 -1
- package/build/web/index.js +4 -1
- package/build/web/schema.json +1475 -997
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +148 -4
- package/package.json +5 -5
- package/theme.json +148 -0
package/build/android/theme.json
CHANGED
|
@@ -2120,7 +2120,7 @@
|
|
|
2120
2120
|
"appearances": {
|
|
2121
2121
|
"iconPosition": {
|
|
2122
2122
|
"description": "Theme styles to be applied to icon links depending on where the icon is in relation to the link text",
|
|
2123
|
-
"values": ["left", "right"],
|
|
2123
|
+
"values": ["left", "right", "inline"],
|
|
2124
2124
|
"type": "state"
|
|
2125
2125
|
},
|
|
2126
2126
|
"inactive": {
|
|
@@ -2908,6 +2908,10 @@
|
|
|
2908
2908
|
"fieldSpace": 3,
|
|
2909
2909
|
"outlineOffset": 8,
|
|
2910
2910
|
"outlineWidth": 1,
|
|
2911
|
+
"paddingBottom": 24,
|
|
2912
|
+
"paddingLeft": 24,
|
|
2913
|
+
"paddingRight": 24,
|
|
2914
|
+
"paddingTop": 24,
|
|
2911
2915
|
"showIcon": true,
|
|
2912
2916
|
"space": 3
|
|
2913
2917
|
}
|
|
@@ -4305,6 +4309,47 @@
|
|
|
4305
4309
|
"width": 1
|
|
4306
4310
|
}
|
|
4307
4311
|
},
|
|
4312
|
+
"DownloadApp": {
|
|
4313
|
+
"appearances": {
|
|
4314
|
+
"pressed": {
|
|
4315
|
+
"description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
|
|
4316
|
+
"values": [true, false],
|
|
4317
|
+
"type": "state"
|
|
4318
|
+
}
|
|
4319
|
+
},
|
|
4320
|
+
"rules": [
|
|
4321
|
+
{
|
|
4322
|
+
"if": {
|
|
4323
|
+
"pressed": true
|
|
4324
|
+
},
|
|
4325
|
+
"tokens": {
|
|
4326
|
+
"borderColor": {
|
|
4327
|
+
"red": 0.12157,
|
|
4328
|
+
"green": 0.36078,
|
|
4329
|
+
"blue": 0.03529,
|
|
4330
|
+
"alpha": 1
|
|
4331
|
+
},
|
|
4332
|
+
"borderRadius": 4
|
|
4333
|
+
}
|
|
4334
|
+
}
|
|
4335
|
+
],
|
|
4336
|
+
"tokens": {
|
|
4337
|
+
"androidENIcon": "PaletteIconAndroidEN",
|
|
4338
|
+
"androidFRIcon": "PaletteIconAndroidFR",
|
|
4339
|
+
"borderColor": {
|
|
4340
|
+
"red": 0,
|
|
4341
|
+
"green": 0,
|
|
4342
|
+
"blue": 0,
|
|
4343
|
+
"alpha": 0
|
|
4344
|
+
},
|
|
4345
|
+
"borderGap": 2,
|
|
4346
|
+
"borderRadius": 0,
|
|
4347
|
+
"borderWidth": 1,
|
|
4348
|
+
"iosENIcon": "PaletteIconIOSEN",
|
|
4349
|
+
"iosFRIcon": "PaletteIconIOSFR",
|
|
4350
|
+
"padding": 1
|
|
4351
|
+
}
|
|
4352
|
+
},
|
|
4308
4353
|
"ExpandCollapse": {
|
|
4309
4354
|
"appearances": {},
|
|
4310
4355
|
"rules": [],
|
|
@@ -6137,7 +6182,7 @@
|
|
|
6137
6182
|
},
|
|
6138
6183
|
"iconPosition": {
|
|
6139
6184
|
"description": "Theme styles to be applied to icon links depending on where the icon is in relation to the link text",
|
|
6140
|
-
"values": ["left", "right"],
|
|
6185
|
+
"values": ["left", "right", "inline"],
|
|
6141
6186
|
"type": "state"
|
|
6142
6187
|
},
|
|
6143
6188
|
"inverse": {
|
|
@@ -6183,6 +6228,14 @@
|
|
|
6183
6228
|
"iconSpace": 1
|
|
6184
6229
|
}
|
|
6185
6230
|
},
|
|
6231
|
+
{
|
|
6232
|
+
"if": {
|
|
6233
|
+
"iconPosition": "inline"
|
|
6234
|
+
},
|
|
6235
|
+
"tokens": {
|
|
6236
|
+
"iconSpace": 2
|
|
6237
|
+
}
|
|
6238
|
+
},
|
|
6186
6239
|
{
|
|
6187
6240
|
"if": {
|
|
6188
6241
|
"pressed": true
|
|
@@ -11014,6 +11067,121 @@
|
|
|
11014
11067
|
"shadow": null
|
|
11015
11068
|
}
|
|
11016
11069
|
},
|
|
11070
|
+
"TabBar": {
|
|
11071
|
+
"appearances": {
|
|
11072
|
+
"pressed": {
|
|
11073
|
+
"description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
|
|
11074
|
+
"values": [true, false],
|
|
11075
|
+
"type": "state"
|
|
11076
|
+
}
|
|
11077
|
+
},
|
|
11078
|
+
"rules": [
|
|
11079
|
+
{
|
|
11080
|
+
"if": {
|
|
11081
|
+
"pressed": true
|
|
11082
|
+
},
|
|
11083
|
+
"tokens": {
|
|
11084
|
+
"paddingBottom": 0,
|
|
11085
|
+
"paddingTop": 0
|
|
11086
|
+
}
|
|
11087
|
+
}
|
|
11088
|
+
],
|
|
11089
|
+
"tokens": {
|
|
11090
|
+
"backgroundColor": {
|
|
11091
|
+
"red": 0.98039,
|
|
11092
|
+
"green": 0.98039,
|
|
11093
|
+
"blue": 0.98039,
|
|
11094
|
+
"alpha": 1
|
|
11095
|
+
},
|
|
11096
|
+
"borderTopColor": {
|
|
11097
|
+
"red": 0.8902,
|
|
11098
|
+
"green": 0.90196,
|
|
11099
|
+
"blue": 0.9098,
|
|
11100
|
+
"alpha": 1
|
|
11101
|
+
},
|
|
11102
|
+
"borderTopWidth": 1,
|
|
11103
|
+
"gap": 8,
|
|
11104
|
+
"paddingBottom": 4,
|
|
11105
|
+
"paddingLeft": 8,
|
|
11106
|
+
"paddingRight": 8,
|
|
11107
|
+
"paddingTop": 4
|
|
11108
|
+
}
|
|
11109
|
+
},
|
|
11110
|
+
"TabBarItem": {
|
|
11111
|
+
"appearances": {
|
|
11112
|
+
"pressed": {
|
|
11113
|
+
"description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
|
|
11114
|
+
"values": [true, false],
|
|
11115
|
+
"type": "state"
|
|
11116
|
+
},
|
|
11117
|
+
"selected": {
|
|
11118
|
+
"description": "Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.",
|
|
11119
|
+
"values": [true],
|
|
11120
|
+
"type": "state"
|
|
11121
|
+
}
|
|
11122
|
+
},
|
|
11123
|
+
"rules": [
|
|
11124
|
+
{
|
|
11125
|
+
"if": {
|
|
11126
|
+
"pressed": true
|
|
11127
|
+
},
|
|
11128
|
+
"tokens": {
|
|
11129
|
+
"backgroundColor": {
|
|
11130
|
+
"red": 0,
|
|
11131
|
+
"green": 0,
|
|
11132
|
+
"blue": 0,
|
|
11133
|
+
"alpha": 0
|
|
11134
|
+
},
|
|
11135
|
+
"color": {
|
|
11136
|
+
"red": 0.29412,
|
|
11137
|
+
"green": 0.15686,
|
|
11138
|
+
"blue": 0.42745,
|
|
11139
|
+
"alpha": 1
|
|
11140
|
+
},
|
|
11141
|
+
"iconColor": {
|
|
11142
|
+
"red": 0.29412,
|
|
11143
|
+
"green": 0.15686,
|
|
11144
|
+
"blue": 0.42745,
|
|
11145
|
+
"alpha": 1
|
|
11146
|
+
},
|
|
11147
|
+
"iconSize": 22
|
|
11148
|
+
}
|
|
11149
|
+
}
|
|
11150
|
+
],
|
|
11151
|
+
"tokens": {
|
|
11152
|
+
"activeColor": {
|
|
11153
|
+
"red": 0.29412,
|
|
11154
|
+
"green": 0.15686,
|
|
11155
|
+
"blue": 0.42745,
|
|
11156
|
+
"alpha": 1
|
|
11157
|
+
},
|
|
11158
|
+
"backgroundColor": {
|
|
11159
|
+
"red": 0,
|
|
11160
|
+
"green": 0,
|
|
11161
|
+
"blue": 0,
|
|
11162
|
+
"alpha": 0
|
|
11163
|
+
},
|
|
11164
|
+
"borderRadius": 4,
|
|
11165
|
+
"color": {
|
|
11166
|
+
"red": 0.40392,
|
|
11167
|
+
"green": 0.43137,
|
|
11168
|
+
"blue": 0.45098,
|
|
11169
|
+
"alpha": 1
|
|
11170
|
+
},
|
|
11171
|
+
"fontName": "HNforTELUSSA",
|
|
11172
|
+
"fontWeight": 500,
|
|
11173
|
+
"iconColor": {
|
|
11174
|
+
"red": 0.40392,
|
|
11175
|
+
"green": 0.43137,
|
|
11176
|
+
"blue": 0.45098,
|
|
11177
|
+
"alpha": 1
|
|
11178
|
+
},
|
|
11179
|
+
"iconSize": 24,
|
|
11180
|
+
"lineHeight": 1.14285714286,
|
|
11181
|
+
"paddingBottom": 4,
|
|
11182
|
+
"paddingTop": 4
|
|
11183
|
+
}
|
|
11184
|
+
},
|
|
11017
11185
|
"Table": {
|
|
11018
11186
|
"appearances": {
|
|
11019
11187
|
"spacing": {
|
|
@@ -14037,7 +14205,7 @@
|
|
|
14037
14205
|
}
|
|
14038
14206
|
},
|
|
14039
14207
|
"metadata": {
|
|
14040
|
-
"themeTokensVersion": "2.
|
|
14208
|
+
"themeTokensVersion": "2.64.0",
|
|
14041
14209
|
"name": "theme-allium"
|
|
14042
14210
|
}
|
|
14043
14211
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"appearances": {
|
|
3
3
|
"iconPosition": {
|
|
4
4
|
"description": "Theme styles to be applied to icon links depending on where the icon is in relation to the link text",
|
|
5
|
-
"values": ["left", "right"],
|
|
5
|
+
"values": ["left", "right", "inline"],
|
|
6
6
|
"type": "state"
|
|
7
7
|
},
|
|
8
8
|
"inactive": {
|
package/build/ios/CardGroup.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"appearances": {
|
|
3
|
+
"pressed": {
|
|
4
|
+
"description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
|
|
5
|
+
"values": [true, false],
|
|
6
|
+
"type": "state"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"rules": [
|
|
10
|
+
{
|
|
11
|
+
"if": {
|
|
12
|
+
"pressed": true
|
|
13
|
+
},
|
|
14
|
+
"tokens": {
|
|
15
|
+
"borderColor": {
|
|
16
|
+
"red": 0.12157,
|
|
17
|
+
"green": 0.36078,
|
|
18
|
+
"blue": 0.03529,
|
|
19
|
+
"alpha": 1
|
|
20
|
+
},
|
|
21
|
+
"borderRadius": 4
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"tokens": {
|
|
26
|
+
"androidENIcon": "PaletteIconAndroidEN",
|
|
27
|
+
"androidFRIcon": "PaletteIconAndroidFR",
|
|
28
|
+
"borderColor": {
|
|
29
|
+
"red": 0,
|
|
30
|
+
"green": 0,
|
|
31
|
+
"blue": 0,
|
|
32
|
+
"alpha": 0
|
|
33
|
+
},
|
|
34
|
+
"borderGap": 2,
|
|
35
|
+
"borderRadius": 0,
|
|
36
|
+
"borderWidth": 1,
|
|
37
|
+
"iosENIcon": "PaletteIconIOSEN",
|
|
38
|
+
"iosFRIcon": "PaletteIconIOSFR",
|
|
39
|
+
"padding": 1
|
|
40
|
+
}
|
|
41
|
+
}
|
package/build/ios/Link.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"iconPosition": {
|
|
9
9
|
"description": "Theme styles to be applied to icon links depending on where the icon is in relation to the link text",
|
|
10
|
-
"values": ["left", "right"],
|
|
10
|
+
"values": ["left", "right", "inline"],
|
|
11
11
|
"type": "state"
|
|
12
12
|
},
|
|
13
13
|
"inverse": {
|
|
@@ -53,6 +53,14 @@
|
|
|
53
53
|
"iconSpace": 1
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
+
{
|
|
57
|
+
"if": {
|
|
58
|
+
"iconPosition": "inline"
|
|
59
|
+
},
|
|
60
|
+
"tokens": {
|
|
61
|
+
"iconSpace": 2
|
|
62
|
+
}
|
|
63
|
+
},
|
|
56
64
|
{
|
|
57
65
|
"if": {
|
|
58
66
|
"pressed": true
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"appearances": {
|
|
3
|
+
"pressed": {
|
|
4
|
+
"description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
|
|
5
|
+
"values": [true, false],
|
|
6
|
+
"type": "state"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"rules": [
|
|
10
|
+
{
|
|
11
|
+
"if": {
|
|
12
|
+
"pressed": true
|
|
13
|
+
},
|
|
14
|
+
"tokens": {
|
|
15
|
+
"paddingBottom": 0,
|
|
16
|
+
"paddingTop": 0
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"tokens": {
|
|
21
|
+
"backgroundColor": {
|
|
22
|
+
"red": 0.98039,
|
|
23
|
+
"green": 0.98039,
|
|
24
|
+
"blue": 0.98039,
|
|
25
|
+
"alpha": 1
|
|
26
|
+
},
|
|
27
|
+
"borderTopColor": {
|
|
28
|
+
"red": 0.8902,
|
|
29
|
+
"green": 0.90196,
|
|
30
|
+
"blue": 0.9098,
|
|
31
|
+
"alpha": 1
|
|
32
|
+
},
|
|
33
|
+
"borderTopWidth": 1,
|
|
34
|
+
"gap": 8,
|
|
35
|
+
"paddingBottom": 4,
|
|
36
|
+
"paddingLeft": 8,
|
|
37
|
+
"paddingRight": 8,
|
|
38
|
+
"paddingTop": 4
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"appearances": {
|
|
3
|
+
"pressed": {
|
|
4
|
+
"description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
|
|
5
|
+
"values": [true, false],
|
|
6
|
+
"type": "state"
|
|
7
|
+
},
|
|
8
|
+
"selected": {
|
|
9
|
+
"description": "Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.",
|
|
10
|
+
"values": [true],
|
|
11
|
+
"type": "state"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"rules": [
|
|
15
|
+
{
|
|
16
|
+
"if": {
|
|
17
|
+
"pressed": true
|
|
18
|
+
},
|
|
19
|
+
"tokens": {
|
|
20
|
+
"backgroundColor": {
|
|
21
|
+
"red": 0,
|
|
22
|
+
"green": 0,
|
|
23
|
+
"blue": 0,
|
|
24
|
+
"alpha": 0
|
|
25
|
+
},
|
|
26
|
+
"color": {
|
|
27
|
+
"red": 0.29412,
|
|
28
|
+
"green": 0.15686,
|
|
29
|
+
"blue": 0.42745,
|
|
30
|
+
"alpha": 1
|
|
31
|
+
},
|
|
32
|
+
"iconColor": {
|
|
33
|
+
"red": 0.29412,
|
|
34
|
+
"green": 0.15686,
|
|
35
|
+
"blue": 0.42745,
|
|
36
|
+
"alpha": 1
|
|
37
|
+
},
|
|
38
|
+
"iconSize": 22
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"tokens": {
|
|
43
|
+
"activeColor": {
|
|
44
|
+
"red": 0.29412,
|
|
45
|
+
"green": 0.15686,
|
|
46
|
+
"blue": 0.42745,
|
|
47
|
+
"alpha": 1
|
|
48
|
+
},
|
|
49
|
+
"backgroundColor": {
|
|
50
|
+
"red": 0,
|
|
51
|
+
"green": 0,
|
|
52
|
+
"blue": 0,
|
|
53
|
+
"alpha": 0
|
|
54
|
+
},
|
|
55
|
+
"borderRadius": 4,
|
|
56
|
+
"color": {
|
|
57
|
+
"red": 0.40392,
|
|
58
|
+
"green": 0.43137,
|
|
59
|
+
"blue": 0.45098,
|
|
60
|
+
"alpha": 1
|
|
61
|
+
},
|
|
62
|
+
"fontName": "HNforTELUSSA",
|
|
63
|
+
"fontWeight": 500,
|
|
64
|
+
"iconColor": {
|
|
65
|
+
"red": 0.40392,
|
|
66
|
+
"green": 0.43137,
|
|
67
|
+
"blue": 0.45098,
|
|
68
|
+
"alpha": 1
|
|
69
|
+
},
|
|
70
|
+
"iconSize": 24,
|
|
71
|
+
"lineHeight": 1.14285714286,
|
|
72
|
+
"paddingBottom": 4,
|
|
73
|
+
"paddingTop": 4
|
|
74
|
+
}
|
|
75
|
+
}
|