@telus-uds/themes-community.theme-allium 0.2.3 → 0.3.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/rn/theme.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 07 Jun 2024 22:34:45 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:55 GMT
5
5
  *
6
6
  */
7
7
 
8
-
8
+ const PaletteIconLinkExternal = require('@telus-uds/palette-allium/build/rn/icons/LinkExternal')
9
9
 
10
10
  module.exports = {
11
11
  components: {
@@ -49,10 +49,80 @@ module.exports = {
49
49
  shadow: null
50
50
  }
51
51
  },
52
- StickyNavigationBar: { appearances: {}, rules: [], tokens: {} }
52
+ StickyNavigationBarTabs: {
53
+ appearances: {
54
+ focus: {
55
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
56
+ type: 'state',
57
+ values: [ true, false ]
58
+ },
59
+ hover: {
60
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
61
+ type: 'state',
62
+ values: [ true, false ]
63
+ },
64
+ pressed: {
65
+ 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.',
66
+ type: 'state',
67
+ values: [ true, false ]
68
+ },
69
+ selected: {
70
+ 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`.',
71
+ type: 'state',
72
+ values: [ true ]
73
+ }
74
+ },
75
+ rules: [
76
+ {
77
+ if: { focus: true },
78
+ tokens: { color: '#414547', outerBorderColor: '#414547' }
79
+ },
80
+ {
81
+ if: { hover: true },
82
+ tokens: { color: '#2c2e30', textLine: 'underline' }
83
+ },
84
+ {
85
+ if: { pressed: true },
86
+ tokens: { color: '#2c2e30', textLine: 'none' }
87
+ },
88
+ {
89
+ if: { focus: true, pressed: true },
90
+ tokens: { outerBorderColor: '#163e06' }
91
+ },
92
+ {
93
+ if: { selected: true },
94
+ tokens: {
95
+ blockFontName: 'HelveticaNow',
96
+ blockFontWeight: '700',
97
+ color: '#2c2e30'
98
+ }
99
+ }
100
+ ],
101
+ tokens: {
102
+ alignSelf: 'flex-start',
103
+ blockFontName: 'HelveticaNow',
104
+ blockFontSize: 14,
105
+ blockFontWeight: '400',
106
+ blockLineHeight: 1.5,
107
+ borderRadius: 4,
108
+ color: '#2c2e30',
109
+ externalLinkIcon: PaletteIconLinkExternal,
110
+ icon: null,
111
+ iconSize: 20,
112
+ iconSpace: 1,
113
+ iconTranslateX: 0,
114
+ iconTranslateY: 0,
115
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
116
+ outerBorderGap: 2,
117
+ outerBorderOutline: 'none',
118
+ outerBorderWidth: 2,
119
+ textLine: 'none',
120
+ textLineStyle: 'solid'
121
+ }
122
+ }
53
123
  },
54
124
  metadata: {
55
125
  name: 'themes-community.theme-allium',
56
- themeTokensVersion: '2.57.0'
126
+ themeTokensVersion: '2.58.0'
57
127
  }
58
128
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 07 Jun 2024 22:35:00 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:18:11 GMT
5
5
  *
6
6
  */
7
7
 
@@ -0,0 +1,80 @@
1
+ /*
2
+ *
3
+ * Do not edit directly
4
+ * Generated on Mon, 24 Jun 2024 16:18:11 GMT
5
+ *
6
+ */
7
+
8
+ import PaletteIconLinkExternal from '@telus-uds/palette-allium/build/rn/icons/LinkExternal'
9
+ const theme = {
10
+ appearances: {
11
+ focus: {
12
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
13
+ type: 'state',
14
+ values: [ true, false ]
15
+ },
16
+ hover: {
17
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
18
+ type: 'state',
19
+ values: [ true, false ]
20
+ },
21
+ pressed: {
22
+ 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.',
23
+ type: 'state',
24
+ values: [ true, false ]
25
+ },
26
+ selected: {
27
+ 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`.',
28
+ type: 'state',
29
+ values: [ true ]
30
+ }
31
+ },
32
+ rules: [
33
+ {
34
+ if: { focus: true },
35
+ tokens: { color: '#414547', outerBorderColor: '#414547' }
36
+ },
37
+ {
38
+ if: { hover: true },
39
+ tokens: { color: '#2c2e30', textLine: 'underline' }
40
+ },
41
+ {
42
+ if: { pressed: true },
43
+ tokens: { color: '#2c2e30', textLine: 'none' }
44
+ },
45
+ {
46
+ if: { focus: true, pressed: true },
47
+ tokens: { outerBorderColor: '#163e06' }
48
+ },
49
+ {
50
+ if: { selected: true },
51
+ tokens: {
52
+ blockFontName: 'HelveticaNow',
53
+ blockFontWeight: '700',
54
+ color: '#2c2e30'
55
+ }
56
+ }
57
+ ],
58
+ tokens: {
59
+ alignSelf: 'flex-start',
60
+ blockFontName: 'HelveticaNow',
61
+ blockFontSize: 14,
62
+ blockFontWeight: '400',
63
+ blockLineHeight: 1.5,
64
+ borderRadius: 4,
65
+ color: '#2c2e30',
66
+ externalLinkIcon: PaletteIconLinkExternal,
67
+ icon: null,
68
+ iconSize: 20,
69
+ iconSpace: 1,
70
+ iconTranslateX: 0,
71
+ iconTranslateY: 0,
72
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
73
+ outerBorderGap: 2,
74
+ outerBorderOutline: 'none',
75
+ outerBorderWidth: 2,
76
+ textLine: 'none',
77
+ textLineStyle: 'solid'
78
+ }
79
+ }
80
+ export default theme
@@ -1,4 +1,4 @@
1
1
  export { default as ContentCard } from './ContentCard'
2
- export { default as StickyNavigationBar } from './StickyNavigationBar'
3
- export const metadata = { name: 'themes-community.theme-allium', themeTokensVersion: '2.57.0'}
2
+ export { default as StickyNavigationBarTabs } from './StickyNavigationBarTabs'
3
+ export const metadata = { name: 'themes-community.theme-allium', themeTokensVersion: '2.58.0'}
4
4
  export { default } from './theme'