@atlaskit/object 1.0.9 → 1.0.11
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 +12 -0
- package/constellation/index/usage.mdx +40 -36
- package/constellation/object-tile/usage.mdx +40 -36
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -41,48 +41,52 @@ larger sizes and increased legibility and visual prominence, use
|
|
|
41
41
|
Do not scale objects. For use cases that require a larger object, use
|
|
42
42
|
[Object tile](/components/object/object-tile/examples).
|
|
43
43
|
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
44
|
+
<DoDontGrid>
|
|
45
|
+
<DoDont
|
|
46
|
+
type="do"
|
|
47
|
+
image={{
|
|
48
|
+
url: objectLargerDo,
|
|
49
|
+
alt: '',
|
|
50
|
+
}}
|
|
51
|
+
>
|
|
52
|
+
Use an object at either 12px or 16px.
|
|
53
|
+
</DoDont>
|
|
54
|
+
<DoDont
|
|
55
|
+
type="dont"
|
|
56
|
+
image={{
|
|
57
|
+
url: objectLargerDont,
|
|
58
|
+
alt: '',
|
|
59
|
+
}}
|
|
60
|
+
>
|
|
61
|
+
Scale objects beyond 16px.
|
|
62
|
+
</DoDont>
|
|
63
|
+
</DoDontGrid>
|
|
62
64
|
|
|
63
65
|
### Don’t change object colors
|
|
64
66
|
|
|
65
67
|
Objects are assigned specific colors. For consistency across our apps, don’t change the color of the
|
|
66
68
|
object.
|
|
67
69
|
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
70
|
+
<DoDontGrid>
|
|
71
|
+
<DoDont
|
|
72
|
+
type="do"
|
|
73
|
+
image={{
|
|
74
|
+
url: objectColorsDo,
|
|
75
|
+
alt: '',
|
|
76
|
+
}}
|
|
77
|
+
>
|
|
78
|
+
Maintain the assigned color.
|
|
79
|
+
</DoDont>
|
|
80
|
+
<DoDont
|
|
81
|
+
type="dont"
|
|
82
|
+
image={{
|
|
83
|
+
url: objectColorsDont,
|
|
84
|
+
alt: '',
|
|
85
|
+
}}
|
|
86
|
+
>
|
|
87
|
+
Switch color tokens or use custom fills.
|
|
88
|
+
</DoDont>
|
|
89
|
+
</DoDontGrid>
|
|
86
90
|
|
|
87
91
|
## Contributing and adding new objects
|
|
88
92
|
|
|
@@ -57,48 +57,52 @@ the [object](/components/object/examples) component.
|
|
|
57
57
|
For smaller representations such as in tables or smart links, use
|
|
58
58
|
[Object](/components/object/examples). Do not scale down object tile below 20px.
|
|
59
59
|
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
60
|
+
<DoDontGrid>
|
|
61
|
+
<DoDont
|
|
62
|
+
type="do"
|
|
63
|
+
image={{
|
|
64
|
+
url: objectTileSmallerDo,
|
|
65
|
+
alt: '',
|
|
66
|
+
}}
|
|
67
|
+
>
|
|
68
|
+
Use the prescribed size for object tiles.
|
|
69
|
+
</DoDont>
|
|
70
|
+
<DoDont
|
|
71
|
+
type="dont"
|
|
72
|
+
image={{
|
|
73
|
+
url: objectTileSmallerDont,
|
|
74
|
+
alt: '',
|
|
75
|
+
}}
|
|
76
|
+
>
|
|
77
|
+
Scale down object tile below 20px.
|
|
78
|
+
</DoDont>
|
|
79
|
+
</DoDontGrid>
|
|
78
80
|
|
|
79
81
|
### Don’t change object tile colors
|
|
80
82
|
|
|
81
83
|
Object tiles are assigned specific colors. For consistency across our apps, don’t change their
|
|
82
84
|
color.
|
|
83
85
|
|
|
84
|
-
<
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
86
|
+
<DoDontGrid>
|
|
87
|
+
<DoDont
|
|
88
|
+
type="do"
|
|
89
|
+
image={{
|
|
90
|
+
url: objectTileColorsDo,
|
|
91
|
+
alt: '',
|
|
92
|
+
}}
|
|
93
|
+
>
|
|
94
|
+
Maintain the assigned color.
|
|
95
|
+
</DoDont>
|
|
96
|
+
<DoDont
|
|
97
|
+
type="dont"
|
|
98
|
+
image={{
|
|
99
|
+
url: objectTileColorsDont,
|
|
100
|
+
alt: '',
|
|
101
|
+
}}
|
|
102
|
+
>
|
|
103
|
+
Switch color tokens or use custom fills.
|
|
104
|
+
</DoDont>
|
|
105
|
+
</DoDontGrid>
|
|
102
106
|
|
|
103
107
|
## Accessibility
|
|
104
108
|
|
package/package.json
CHANGED
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"atlaskit:src": "src/index.tsx",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/css": "^0.19.0",
|
|
29
|
-
"@atlaskit/icon": "^
|
|
30
|
-
"@atlaskit/icon-lab": "^5.
|
|
29
|
+
"@atlaskit/icon": "^32.0.0",
|
|
30
|
+
"@atlaskit/icon-lab": "^5.17.0",
|
|
31
31
|
"@atlaskit/primitives": "^18.0.0",
|
|
32
32
|
"@atlaskit/tile": "^1.0.0",
|
|
33
33
|
"@atlaskit/tokens": "^11.0.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"name": "@atlaskit/object",
|
|
93
|
-
"version": "1.0.
|
|
93
|
+
"version": "1.0.11",
|
|
94
94
|
"description": "An object is an icon that represents an Atlassian-specific content type.",
|
|
95
95
|
"author": "Atlassian Pty Ltd",
|
|
96
96
|
"license": "Apache-2.0",
|