@atlaskit/ds-explorations 2.3.1 → 2.4.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/CHANGELOG.md +70 -58
- package/box/package.json +15 -0
- package/dist/cjs/components/box.partial.js +620 -0
- package/dist/cjs/components/inline.partial.js +182 -0
- package/dist/cjs/components/interaction-surface.partial.js +1 -2
- package/dist/cjs/components/stack.partial.js +148 -0
- package/dist/cjs/components/surface-provider.js +2 -4
- package/dist/cjs/components/text.partial.js +5 -6
- package/dist/cjs/constants.js +2 -3
- package/dist/cjs/index.js +21 -0
- package/dist/cjs/internal/color-map.js +2 -3
- package/dist/cjs/internal/role-to-element.js +1 -2
- package/dist/cjs/internal/spacing-scale.js +1 -2
- package/dist/es2019/components/box.partial.js +614 -0
- package/dist/es2019/components/inline.partial.js +177 -0
- package/dist/es2019/components/stack.partial.js +144 -0
- package/dist/es2019/components/text.partial.js +4 -4
- package/dist/es2019/index.js +3 -0
- package/dist/esm/components/box.partial.js +617 -0
- package/dist/esm/components/inline.partial.js +177 -0
- package/dist/esm/components/stack.partial.js +143 -0
- package/dist/esm/components/text.partial.js +4 -4
- package/dist/esm/index.js +3 -0
- package/dist/types/components/box.partial.d.ts +357 -0
- package/dist/types/components/inline.partial.d.ts +108 -0
- package/dist/types/components/stack.partial.d.ts +92 -0
- package/dist/types/components/surface-provider.d.ts +2 -2
- package/dist/types/components/text.partial.d.ts +2 -2
- package/dist/types/index.d.ts +6 -0
- package/dist/types-ts4.5/components/box.partial.d.ts +357 -0
- package/dist/types-ts4.5/components/inline.partial.d.ts +108 -0
- package/dist/types-ts4.5/components/stack.partial.d.ts +92 -0
- package/dist/types-ts4.5/components/surface-provider.d.ts +2 -2
- package/dist/types-ts4.5/components/text.partial.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +6 -0
- package/examples/00-basic.tsx +22 -0
- package/examples/01-box.tsx +171 -0
- package/examples/02-text-advanced.tsx +20 -11
- package/examples/02-text.tsx +10 -15
- package/examples/03-stack.tsx +99 -0
- package/examples/04-inline.tsx +99 -0
- package/examples/05-badge.tsx +5 -9
- package/examples/06-section-message.tsx +4 -2
- package/examples/07-comment.tsx +3 -1
- package/examples/08-lozenge.tsx +4 -8
- package/examples/99-interactions.tsx +33 -49
- package/inline/package.json +15 -0
- package/package.json +6 -4
- package/report.api.md +465 -0
- package/scripts/codegen-styles.tsx +89 -16
- package/src/components/__tests__/unit/box.test.tsx +55 -0
- package/src/components/__tests__/unit/inline.test.tsx +43 -0
- package/src/components/__tests__/unit/interaction-suface.test.tsx +2 -2
- package/src/components/__tests__/unit/stack.test.tsx +31 -0
- package/src/components/__tests__/visual-regression/__image_snapshots__/inline-snapshot-test-tsx-inline-alignment-example-should-match-snapshot-1-snap.png +3 -0
- package/src/components/__tests__/visual-regression/__image_snapshots__/inline-snapshot-test-tsx-inline-spacing-example-should-match-snapshot-1-snap.png +3 -0
- package/src/components/__tests__/visual-regression/__image_snapshots__/stack-snapshot-test-tsx-stack-alignment-example-should-match-snapshot-1-snap.png +3 -0
- package/src/components/__tests__/visual-regression/__image_snapshots__/stack-snapshot-test-tsx-stack-spacing-example-should-match-snapshot-1-snap.png +3 -0
- package/src/components/__tests__/visual-regression/inline-snapshot-test.tsx +28 -0
- package/src/components/__tests__/visual-regression/stack-snapshot-test.tsx +28 -0
- package/src/components/__tests__/vr-tests/__snapshots__/box--default.png +0 -0
- package/src/components/__tests__/vr-tests/box-snapshot-test.vr.tsx +6 -0
- package/src/components/box.partial.tsx +706 -0
- package/src/components/inline.partial.tsx +218 -0
- package/src/components/stack.partial.tsx +174 -0
- package/src/components/surface-provider.tsx +1 -1
- package/src/components/text.partial.tsx +4 -4
- package/src/index.tsx +6 -0
- package/stack/package.json +15 -0
- package/tmp/api-report-tmp.d.ts +451 -0
- package/tsconfig.app.json +0 -3
- package/tsconfig.dev.json +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
# @atlaskit/ds-explorations
|
|
2
2
|
|
|
3
|
+
## 2.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#41275](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41275) [`1fd49b30e7e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fd49b30e7e) - Revert removal of Box, Inline, Stack entry-points.
|
|
8
|
+
|
|
9
|
+
## 2.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40299) [`b1882fdd842`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1882fdd842) - Change typography token naming to be more verbose.
|
|
14
|
+
|
|
3
15
|
## 2.3.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`83cd2ae7c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83cd2ae7c5a) - Regenerates codegen artifacts as a result of introducting new visited link token.
|
|
19
|
+
- [#40041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40041) [`83cd2ae7c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83cd2ae7c5a) - Regenerates codegen artifacts as a result of introducting new visited link token.
|
|
8
20
|
- Updated dependencies
|
|
9
21
|
|
|
10
22
|
## 2.3.0
|
|
11
23
|
|
|
12
24
|
### Minor Changes
|
|
13
25
|
|
|
14
|
-
- [`933fd5192d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/933fd5192d6) - - Removes UNSAFE_Box component.
|
|
26
|
+
- [#40054](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40054) [`933fd5192d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/933fd5192d6) - - Removes UNSAFE_Box component.
|
|
15
27
|
- Removes UNSAFE_Inline component.
|
|
16
28
|
- Removes UNSAFE_Stack component.
|
|
17
29
|
|
|
@@ -19,105 +31,105 @@
|
|
|
19
31
|
|
|
20
32
|
### Patch Changes
|
|
21
33
|
|
|
22
|
-
- [`6b3e7af515d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b3e7af515d) - Updates based on new codgen for tokens (no API change).
|
|
34
|
+
- [#39854](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39854) [`6b3e7af515d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b3e7af515d) - Updates based on new codgen for tokens (no API change).
|
|
23
35
|
- Updated dependencies
|
|
24
36
|
|
|
25
37
|
## 2.2.14
|
|
26
38
|
|
|
27
39
|
### Patch Changes
|
|
28
40
|
|
|
29
|
-
- [`813edf2fe03`](https://bitbucket.org/atlassian/atlassian-frontend/commits/813edf2fe03) - Minor internal changes. There is no expected behaviour change.
|
|
41
|
+
- [#39578](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39578) [`813edf2fe03`](https://bitbucket.org/atlassian/atlassian-frontend/commits/813edf2fe03) - Minor internal changes. There is no expected behaviour change.
|
|
30
42
|
- Updated dependencies
|
|
31
43
|
|
|
32
44
|
## 2.2.13
|
|
33
45
|
|
|
34
46
|
### Patch Changes
|
|
35
47
|
|
|
36
|
-
- [`88e4ac397ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88e4ac397ea) - Regenerates codegen artifacts as a result of introducting new accent interaction tokens.
|
|
48
|
+
- [#39430](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39430) [`88e4ac397ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88e4ac397ea) - Regenerates codegen artifacts as a result of introducting new accent interaction tokens.
|
|
37
49
|
- Updated dependencies
|
|
38
50
|
|
|
39
51
|
## 2.2.12
|
|
40
52
|
|
|
41
53
|
### Patch Changes
|
|
42
54
|
|
|
43
|
-
- [`437a056278c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/437a056278c) - Update to reflect latest tokens.
|
|
55
|
+
- [#39135](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39135) [`437a056278c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/437a056278c) - Update to reflect latest tokens.
|
|
44
56
|
- Updated dependencies
|
|
45
57
|
|
|
46
58
|
## 2.2.11
|
|
47
59
|
|
|
48
60
|
### Patch Changes
|
|
49
61
|
|
|
50
|
-
- [`103ee1d5dd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/103ee1d5dd4) - Internal updates to generated artifacts.
|
|
62
|
+
- [#38620](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38620) [`103ee1d5dd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/103ee1d5dd4) - Internal updates to generated artifacts.
|
|
51
63
|
|
|
52
64
|
## 2.2.10
|
|
53
65
|
|
|
54
66
|
### Patch Changes
|
|
55
67
|
|
|
56
|
-
- [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) - Internal updates for ADS Typography ADG3 theme.
|
|
68
|
+
- [#38433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38433) [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) - Internal updates for ADS Typography ADG3 theme.
|
|
57
69
|
- Updated dependencies
|
|
58
70
|
|
|
59
71
|
## 2.2.9
|
|
60
72
|
|
|
61
73
|
### Patch Changes
|
|
62
74
|
|
|
63
|
-
- [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
75
|
+
- [#38209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38209) [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
64
76
|
|
|
65
77
|
## 2.2.8
|
|
66
78
|
|
|
67
79
|
### Patch Changes
|
|
68
80
|
|
|
69
|
-
- [`74f7af9882b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74f7af9882b) - [ux] correct fallback color of token color.border.focused to meet contrast requirement
|
|
81
|
+
- [#37182](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37182) [`74f7af9882b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74f7af9882b) - [ux] correct fallback color of token color.border.focused to meet contrast requirement
|
|
70
82
|
|
|
71
83
|
## 2.2.7
|
|
72
84
|
|
|
73
85
|
### Patch Changes
|
|
74
86
|
|
|
75
|
-
- [`298df94426c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/298df94426c) - Regenerates codegen'd artifacts as a result of introducting new brand background design tokens.
|
|
87
|
+
- [#36967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36967) [`298df94426c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/298df94426c) - Regenerates codegen'd artifacts as a result of introducting new brand background design tokens.
|
|
76
88
|
- Updated dependencies
|
|
77
89
|
|
|
78
90
|
## 2.2.6
|
|
79
91
|
|
|
80
92
|
### Patch Changes
|
|
81
93
|
|
|
82
|
-
- [`27f6081edf2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27f6081edf2) - Regenerates codegen hashes to surface changes to tokens
|
|
94
|
+
- [#36279](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36279) [`27f6081edf2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27f6081edf2) - Regenerates codegen hashes to surface changes to tokens
|
|
83
95
|
|
|
84
96
|
## 2.2.5
|
|
85
97
|
|
|
86
98
|
### Patch Changes
|
|
87
99
|
|
|
88
|
-
- [`7c1c449eb96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c1c449eb96) - Updated space token descriptions.
|
|
100
|
+
- [#36218](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36218) [`7c1c449eb96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c1c449eb96) - Updated space token descriptions.
|
|
89
101
|
|
|
90
102
|
## 2.2.4
|
|
91
103
|
|
|
92
104
|
### Patch Changes
|
|
93
105
|
|
|
94
|
-
- [`267a88221e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/267a88221e8) - Internal change to update codegen.
|
|
106
|
+
- [#36072](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36072) [`267a88221e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/267a88221e8) - Internal change to update codegen.
|
|
95
107
|
|
|
96
108
|
## 2.2.3
|
|
97
109
|
|
|
98
110
|
### Patch Changes
|
|
99
111
|
|
|
100
|
-
- [`55be182b904`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55be182b904) - Regenerates codegen'd artifacts as a result of introducting new design tokens.
|
|
112
|
+
- [#35526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35526) [`55be182b904`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55be182b904) - Regenerates codegen'd artifacts as a result of introducting new design tokens.
|
|
101
113
|
- Updated dependencies
|
|
102
114
|
|
|
103
115
|
## 2.2.2
|
|
104
116
|
|
|
105
117
|
### Patch Changes
|
|
106
118
|
|
|
107
|
-
- [`79e94411a9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79e94411a9c) - Bump to account for regeneration of tokens artifacts.
|
|
119
|
+
- [#35385](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35385) [`79e94411a9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79e94411a9c) - Bump to account for regeneration of tokens artifacts.
|
|
108
120
|
- Updated dependencies
|
|
109
121
|
|
|
110
122
|
## 2.2.1
|
|
111
123
|
|
|
112
124
|
### Patch Changes
|
|
113
125
|
|
|
114
|
-
- [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
|
|
126
|
+
- [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
|
|
115
127
|
|
|
116
128
|
## 2.2.0
|
|
117
129
|
|
|
118
130
|
### Minor Changes
|
|
119
131
|
|
|
120
|
-
- [`78a3f27cc3a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78a3f27cc3a) - Regenerate style maps based on token updates.
|
|
132
|
+
- [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217) [`78a3f27cc3a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78a3f27cc3a) - Regenerate style maps based on token updates.
|
|
121
133
|
|
|
122
134
|
### Patch Changes
|
|
123
135
|
|
|
@@ -127,19 +139,19 @@
|
|
|
127
139
|
|
|
128
140
|
### Patch Changes
|
|
129
141
|
|
|
130
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
142
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
131
143
|
|
|
132
144
|
## 2.1.1
|
|
133
145
|
|
|
134
146
|
### Patch Changes
|
|
135
147
|
|
|
136
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
148
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
137
149
|
|
|
138
150
|
## 2.1.0
|
|
139
151
|
|
|
140
152
|
### Minor Changes
|
|
141
153
|
|
|
142
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
154
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
143
155
|
|
|
144
156
|
### Patch Changes
|
|
145
157
|
|
|
@@ -149,87 +161,87 @@
|
|
|
149
161
|
|
|
150
162
|
### Patch Changes
|
|
151
163
|
|
|
152
|
-
- [`1aa8720a4ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1aa8720a4ff) - Internal refactor.
|
|
164
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`1aa8720a4ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1aa8720a4ff) - Internal refactor.
|
|
153
165
|
|
|
154
166
|
## 2.0.12
|
|
155
167
|
|
|
156
168
|
### Patch Changes
|
|
157
169
|
|
|
158
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
170
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
159
171
|
|
|
160
172
|
## 2.0.11
|
|
161
173
|
|
|
162
174
|
### Patch Changes
|
|
163
175
|
|
|
164
|
-
- [`a02eed2974e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a02eed2974e) - Move codegen into @atlassian scope to publish it to private registry
|
|
176
|
+
- [#32311](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32311) [`a02eed2974e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a02eed2974e) - Move codegen into @atlassian scope to publish it to private registry
|
|
165
177
|
|
|
166
178
|
## 2.0.10
|
|
167
179
|
|
|
168
180
|
### Patch Changes
|
|
169
181
|
|
|
170
|
-
- [`9fb52345e8d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fb52345e8d) - Update some examples to use Inline and Stack from `@atlaskit/primitives`.
|
|
182
|
+
- [#31378](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31378) [`9fb52345e8d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fb52345e8d) - Update some examples to use Inline and Stack from `@atlaskit/primitives`.
|
|
171
183
|
|
|
172
184
|
## 2.0.9
|
|
173
185
|
|
|
174
186
|
### Patch Changes
|
|
175
187
|
|
|
176
|
-
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
188
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
177
189
|
|
|
178
190
|
## 2.0.8
|
|
179
191
|
|
|
180
192
|
### Patch Changes
|
|
181
193
|
|
|
182
|
-
- [`6ce08fbcba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ce08fbcba2) - [ux] Fixed a bug where the `<Box>` `justifyContent` prop was mistakenly applying `alignItems` for `start` and `end` values
|
|
194
|
+
- [#30905](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30905) [`6ce08fbcba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ce08fbcba2) - [ux] Fixed a bug where the `<Box>` `justifyContent` prop was mistakenly applying `alignItems` for `start` and `end` values
|
|
183
195
|
|
|
184
196
|
## 2.0.7
|
|
185
197
|
|
|
186
198
|
### Patch Changes
|
|
187
199
|
|
|
188
|
-
- [`66493433ce9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/66493433ce9) - Removes temporary, internal-only unsafe exports as they now live in @atlaskit/primitives/responsive.
|
|
200
|
+
- [#31127](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31127) [`66493433ce9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/66493433ce9) - Removes temporary, internal-only unsafe exports as they now live in @atlaskit/primitives/responsive.
|
|
189
201
|
|
|
190
202
|
## 2.0.6
|
|
191
203
|
|
|
192
204
|
### Patch Changes
|
|
193
205
|
|
|
194
|
-
- [`4b219ed17bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b219ed17bf) - Breakpoint constants added to be used in responsive spikes initially
|
|
206
|
+
- [#30708](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30708) [`4b219ed17bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b219ed17bf) - Breakpoint constants added to be used in responsive spikes initially
|
|
195
207
|
|
|
196
208
|
## 2.0.5
|
|
197
209
|
|
|
198
210
|
### Patch Changes
|
|
199
211
|
|
|
200
|
-
- [`a70970a5aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a70970a5aab) - Mark Box, Inline, and Stack as deprecated, planned for future removal.
|
|
212
|
+
- [#30487](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30487) [`a70970a5aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a70970a5aab) - Mark Box, Inline, and Stack as deprecated, planned for future removal.
|
|
201
213
|
|
|
202
214
|
## 2.0.4
|
|
203
215
|
|
|
204
216
|
### Patch Changes
|
|
205
217
|
|
|
206
|
-
- [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
218
|
+
- [#30125](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30125) [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
207
219
|
|
|
208
220
|
## 2.0.3
|
|
209
221
|
|
|
210
222
|
### Patch Changes
|
|
211
223
|
|
|
212
|
-
- [`069494fbea6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/069494fbea6) - Internal change. There is no behaviour or visual change.
|
|
224
|
+
- [#29387](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29387) [`069494fbea6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/069494fbea6) - Internal change. There is no behaviour or visual change.
|
|
213
225
|
- Updated dependencies
|
|
214
226
|
|
|
215
227
|
## 2.0.2
|
|
216
228
|
|
|
217
229
|
### Patch Changes
|
|
218
230
|
|
|
219
|
-
- [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) - Removes usage of tokens which have been removed from the codebase
|
|
231
|
+
- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) - Removes usage of tokens which have been removed from the codebase
|
|
220
232
|
- Updated dependencies
|
|
221
233
|
|
|
222
234
|
## 2.0.1
|
|
223
235
|
|
|
224
236
|
### Patch Changes
|
|
225
237
|
|
|
226
|
-
- [`290b1f069bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/290b1f069bd) - Regenerate codegen styles
|
|
238
|
+
- [#28784](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28784) [`290b1f069bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/290b1f069bd) - Regenerate codegen styles
|
|
227
239
|
|
|
228
240
|
## 2.0.0
|
|
229
241
|
|
|
230
242
|
### Major Changes
|
|
231
243
|
|
|
232
|
-
- [`544c409d79f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/544c409d79f) - **Breaking Change**
|
|
244
|
+
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891) [`544c409d79f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/544c409d79f) - **Breaking Change**
|
|
233
245
|
|
|
234
246
|
### `Text`
|
|
235
247
|
|
|
@@ -247,19 +259,19 @@
|
|
|
247
259
|
|
|
248
260
|
### Minor Changes
|
|
249
261
|
|
|
250
|
-
- [`642298a54dc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642298a54dc) - Box - Allow `display` prop to take `inline-block`.
|
|
262
|
+
- [#28165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28165) [`642298a54dc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642298a54dc) - Box - Allow `display` prop to take `inline-block`.
|
|
251
263
|
|
|
252
264
|
## 1.6.4
|
|
253
265
|
|
|
254
266
|
### Patch Changes
|
|
255
267
|
|
|
256
|
-
- [`1e46e236f6f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e46e236f6f) - This changeset exists because a PR touches these packages in a way that doesn't require a release
|
|
268
|
+
- [#27875](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27875) [`1e46e236f6f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e46e236f6f) - This changeset exists because a PR touches these packages in a way that doesn't require a release
|
|
257
269
|
|
|
258
270
|
## 1.6.3
|
|
259
271
|
|
|
260
272
|
### Patch Changes
|
|
261
273
|
|
|
262
|
-
- [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
|
|
274
|
+
- [#28011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28011) [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
|
|
263
275
|
- Updated dependencies
|
|
264
276
|
|
|
265
277
|
## 1.6.2
|
|
@@ -272,49 +284,49 @@
|
|
|
272
284
|
|
|
273
285
|
### Patch Changes
|
|
274
286
|
|
|
275
|
-
- [`f7b2dbd6eba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7b2dbd6eba) - Add fontWeight 600 to Text. Add justifyContent spaceBetween to Inline. Add overflow hidden, position fixed, and start/end flex values to Box. Add shadow and layer props to Box.
|
|
287
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`f7b2dbd6eba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7b2dbd6eba) - Add fontWeight 600 to Text. Add justifyContent spaceBetween to Inline. Add overflow hidden, position fixed, and start/end flex values to Box. Add shadow and layer props to Box.
|
|
276
288
|
|
|
277
289
|
## 1.6.0
|
|
278
290
|
|
|
279
291
|
### Minor Changes
|
|
280
292
|
|
|
281
|
-
- [`9f9498aafb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f9498aafb1) - [ux] Box API introduces `hidden` for `overflow` prop.
|
|
293
|
+
- [#27076](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27076) [`9f9498aafb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f9498aafb1) - [ux] Box API introduces `hidden` for `overflow` prop.
|
|
282
294
|
|
|
283
295
|
## 1.5.0
|
|
284
296
|
|
|
285
297
|
### Minor Changes
|
|
286
298
|
|
|
287
|
-
- [`c146611a18c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c146611a18c) - [ux] Migrate progress-indicator package to use spacing primitives to control spacing in both component and examples. Spacing values have been slightly updated depending on indicator size and spacing properties
|
|
299
|
+
- [#27789](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27789) [`c146611a18c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c146611a18c) - [ux] Migrate progress-indicator package to use spacing primitives to control spacing in both component and examples. Spacing values have been slightly updated depending on indicator size and spacing properties
|
|
288
300
|
|
|
289
301
|
## 1.4.0
|
|
290
302
|
|
|
291
303
|
### Minor Changes
|
|
292
304
|
|
|
293
|
-
- [`7f886c0aa18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f886c0aa18) - The `Inline` component now allows children to be justified 'space-between'.
|
|
305
|
+
- [#27894](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27894) [`7f886c0aa18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f886c0aa18) - The `Inline` component now allows children to be justified 'space-between'.
|
|
294
306
|
|
|
295
307
|
## 1.3.2
|
|
296
308
|
|
|
297
309
|
### Patch Changes
|
|
298
310
|
|
|
299
|
-
- [`f824dcfff6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f824dcfff6e) - Internal changes to satisfy various lint warnings & errors
|
|
311
|
+
- [#27629](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27629) [`f824dcfff6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f824dcfff6e) - Internal changes to satisfy various lint warnings & errors
|
|
300
312
|
|
|
301
313
|
## 1.3.1
|
|
302
314
|
|
|
303
315
|
### Patch Changes
|
|
304
316
|
|
|
305
|
-
- [`04f01205c6b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04f01205c6b) - Applies rem instead of pixels as spacing tokens fallbacks. This should have no visual or behavioural change.
|
|
317
|
+
- [#27433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27433) [`04f01205c6b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04f01205c6b) - Applies rem instead of pixels as spacing tokens fallbacks. This should have no visual or behavioural change.
|
|
306
318
|
|
|
307
319
|
## 1.3.0
|
|
308
320
|
|
|
309
321
|
### Minor Changes
|
|
310
322
|
|
|
311
|
-
- [`7d6e345cd63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d6e345cd63) - Bump to account for bump in `@atlaskit/tokens`.
|
|
323
|
+
- [#27482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27482) [`7d6e345cd63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d6e345cd63) - Bump to account for bump in `@atlaskit/tokens`.
|
|
312
324
|
|
|
313
325
|
## 1.2.2
|
|
314
326
|
|
|
315
327
|
### Patch Changes
|
|
316
328
|
|
|
317
|
-
- [`1dec7b39f7b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dec7b39f7b) - - Children are only iterated over when divider prop is passed. There should be no behaviour change.
|
|
329
|
+
- [#27209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27209) [`1dec7b39f7b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dec7b39f7b) - - Children are only iterated over when divider prop is passed. There should be no behaviour change.
|
|
318
330
|
- Add `user-select: none;` to divider.
|
|
319
331
|
|
|
320
332
|
## 1.2.1
|
|
@@ -327,20 +339,20 @@
|
|
|
327
339
|
|
|
328
340
|
### Minor Changes
|
|
329
341
|
|
|
330
|
-
- [`e6fb7598867`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6fb7598867) - Exposes additional public entrypoints for `Inline` and `Stack`.
|
|
342
|
+
- [#26801](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26801) [`e6fb7598867`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6fb7598867) - Exposes additional public entrypoints for `Inline` and `Stack`.
|
|
331
343
|
Loosens the types of `children` for the `Inline`, `Stack` and `Box` as it was causing unexpected friction.
|
|
332
344
|
|
|
333
345
|
## 1.1.0
|
|
334
346
|
|
|
335
347
|
### Minor Changes
|
|
336
348
|
|
|
337
|
-
- [`93d75a4e289`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d75a4e289) - Adding id prop for Text component so that element can be updated with id attribute. It's a way for an element to be uniquely identifiable for a range of reasons. For example: URL anchors, reference target for integrations and accessible label references.
|
|
349
|
+
- [#26803](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26803) [`93d75a4e289`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d75a4e289) - Adding id prop for Text component so that element can be updated with id attribute. It's a way for an element to be uniquely identifiable for a range of reasons. For example: URL anchors, reference target for integrations and accessible label references.
|
|
338
350
|
|
|
339
351
|
## 1.0.0
|
|
340
352
|
|
|
341
353
|
### Major Changes
|
|
342
354
|
|
|
343
|
-
- [`30c6ec5a76f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c6ec5a76f) - **Breaking Change**
|
|
355
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`30c6ec5a76f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c6ec5a76f) - **Breaking Change**
|
|
344
356
|
|
|
345
357
|
The package has been moved to a v1 state. It is no less or more stable (see readme for more information) however this update is to ensure that the consumption of minor versions for the package in downstream dependencies is correctly resolved.
|
|
346
358
|
|
|
@@ -362,7 +374,7 @@
|
|
|
362
374
|
|
|
363
375
|
### Patch Changes
|
|
364
376
|
|
|
365
|
-
- [`7014fd08976`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7014fd08976) - [ux] Inline gap prop now internally sets column-gap; Stack gap prop now internally sets row-gap
|
|
377
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`7014fd08976`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7014fd08976) - [ux] Inline gap prop now internally sets column-gap; Stack gap prop now internally sets row-gap
|
|
366
378
|
- [`ba660f4f76f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba660f4f76f) - Add `start` and `end` values to Stack and Inline flex properties.
|
|
367
379
|
- [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update internals of Box, Text, Inline and Stack to handle `children` more accurately.
|
|
368
380
|
Also update scope of `use-primitives` to suggest Box and Text more selectively.
|
|
@@ -373,19 +385,19 @@
|
|
|
373
385
|
|
|
374
386
|
### Patch Changes
|
|
375
387
|
|
|
376
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
388
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
377
389
|
|
|
378
390
|
## 0.1.3
|
|
379
391
|
|
|
380
392
|
### Patch Changes
|
|
381
393
|
|
|
382
|
-
- [`d6328e5e1ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6328e5e1ec) - Removes the default values for `<Text />`.
|
|
394
|
+
- [#24929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24929) [`d6328e5e1ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6328e5e1ec) - Removes the default values for `<Text />`.
|
|
383
395
|
|
|
384
396
|
## 0.1.2
|
|
385
397
|
|
|
386
398
|
### Patch Changes
|
|
387
399
|
|
|
388
|
-
- [`37246e87cfc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37246e87cfc) - Adds position static to Box.
|
|
400
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`37246e87cfc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37246e87cfc) - Adds position static to Box.
|
|
389
401
|
Changes lozenge to use position static instead of relative.
|
|
390
402
|
- [`09c2fef4837`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09c2fef4837) - Introduces a `className` to `Box`.
|
|
391
403
|
- [`862d3b09b49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/862d3b09b49) - Add `shouldTruncate` prop to Text to enable truncating text with an ellipsis. Defaults to false.
|
|
@@ -396,13 +408,13 @@
|
|
|
396
408
|
|
|
397
409
|
### Patch Changes
|
|
398
410
|
|
|
399
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
411
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
400
412
|
|
|
401
413
|
## 0.1.0
|
|
402
414
|
|
|
403
415
|
### Minor Changes
|
|
404
416
|
|
|
405
|
-
- [`57b94585c64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57b94585c64) - Breaking change to the color props which now require a fallback. Generated colors now also include additional background color types.
|
|
417
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`57b94585c64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57b94585c64) - Breaking change to the color props which now require a fallback. Generated colors now also include additional background color types.
|
|
406
418
|
- [`57c59a5c2d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c59a5c2d2) - Initial implementation of UNSAFE_Box
|
|
407
419
|
|
|
408
420
|
### Patch Changes
|
|
@@ -417,17 +429,17 @@
|
|
|
417
429
|
|
|
418
430
|
### Patch Changes
|
|
419
431
|
|
|
420
|
-
- [`40151c42d7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40151c42d7d) - Update background, text and icon disabled colors to use alpha base tokens
|
|
432
|
+
- [#23579](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23579) [`40151c42d7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40151c42d7d) - Update background, text and icon disabled colors to use alpha base tokens
|
|
421
433
|
|
|
422
434
|
## 0.0.2
|
|
423
435
|
|
|
424
436
|
### Patch Changes
|
|
425
437
|
|
|
426
|
-
- [`232b2b765b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/232b2b765b9) - Internal changes to the way styles are created for the `Box` and `Text` components. Both components now use a wrapper over the `af/codegen`'s expected API to generate styles and types from the tokens package.
|
|
438
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`232b2b765b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/232b2b765b9) - Internal changes to the way styles are created for the `Box` and `Text` components. Both components now use a wrapper over the `af/codegen`'s expected API to generate styles and types from the tokens package.
|
|
427
439
|
- [`29b8b26ee79`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29b8b26ee79) - Updates Box, Text to include partial implementations to spike and experiment with different usages.
|
|
428
440
|
|
|
429
441
|
## 0.0.1
|
|
430
442
|
|
|
431
443
|
### Patch Changes
|
|
432
444
|
|
|
433
|
-
- [`f7edb043597`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7edb043597) - Initial release, no API exposed.
|
|
445
|
+
- [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`f7edb043597`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7edb043597) - Initial release, no API exposed.
|
package/box/package.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/ds-explorations/box",
|
|
3
|
+
"main": "../dist/cjs/components/box.partial.js",
|
|
4
|
+
"module": "../dist/esm/components/box.partial.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/components/box.partial.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/components/box.partial.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.5 <4.9": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.5/components/box.partial.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|