shinkansen-engine 1.2.472 → 1.2.475
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/babel.config.cjs +1 -21
- package/docs/array.md +232 -0
- package/docs/boolean.md +25 -0
- package/docs/images/array-array-boolean-all-of.png +0 -0
- package/docs/images/array-array-boolean-any-of.png +0 -0
- package/docs/images/array-array-boolean-enum.png +0 -0
- package/docs/images/array-array-boolean-one-of.png +0 -0
- package/docs/images/array-array-boolean.png +0 -0
- package/docs/images/array-array-null-all-of.png +0 -0
- package/docs/images/array-array-null-any-of.png +0 -0
- package/docs/images/array-array-null-enum.png +0 -0
- package/docs/images/array-array-null-one-of.png +0 -0
- package/docs/images/array-array-null.png +0 -0
- package/docs/images/array-array-number-all-of.png +0 -0
- package/docs/images/array-array-number-any-of.png +0 -0
- package/docs/images/array-array-number-enum.png +0 -0
- package/docs/images/array-array-number-one-of.png +0 -0
- package/docs/images/array-array-number.png +0 -0
- package/docs/images/array-array-string-all-of.png +0 -0
- package/docs/images/array-array-string-any-of.png +0 -0
- package/docs/images/array-array-string-enum.png +0 -0
- package/docs/images/array-array-string-one-of.png +0 -0
- package/docs/images/array-array-string.png +0 -0
- package/docs/images/array-object-boolean-all-of.png +0 -0
- package/docs/images/array-object-boolean-any-of.png +0 -0
- package/docs/images/array-object-boolean-enum.png +0 -0
- package/docs/images/array-object-boolean-one-of.png +0 -0
- package/docs/images/array-object-boolean.png +0 -0
- package/docs/images/array-object-null-all-of.png +0 -0
- package/docs/images/array-object-null-any-of.png +0 -0
- package/docs/images/array-object-null-enum.png +0 -0
- package/docs/images/array-object-null-one-of.png +0 -0
- package/docs/images/array-object-null.png +0 -0
- package/docs/images/array-object-number-all-of.png +0 -0
- package/docs/images/array-object-number-any-of.png +0 -0
- package/docs/images/array-object-number-enum.png +0 -0
- package/docs/images/array-object-number-one-of.png +0 -0
- package/docs/images/array-object-number.png +0 -0
- package/docs/images/array-object-string-all-of.png +0 -0
- package/docs/images/array-object-string-any-of.png +0 -0
- package/docs/images/array-object-string-enum.png +0 -0
- package/docs/images/array-object-string-one-of.png +0 -0
- package/docs/images/array-object-string.png +0 -0
- package/docs/images/boolean-all-of.png +0 -0
- package/docs/images/boolean-any-of.png +0 -0
- package/docs/images/boolean-enum.png +0 -0
- package/docs/images/boolean-one-of.png +0 -0
- package/docs/images/boolean.png +0 -0
- package/docs/images/null-all-of.png +0 -0
- package/docs/images/null-any-of.png +0 -0
- package/docs/images/null-enum.png +0 -0
- package/docs/images/null-one-of.png +0 -0
- package/docs/images/null.png +0 -0
- package/docs/images/number-all-of.png +0 -0
- package/docs/images/number-any-of.png +0 -0
- package/docs/images/number-enum.png +0 -0
- package/docs/images/number-one-of.png +0 -0
- package/docs/images/number.png +0 -0
- package/docs/images/object-boolean-all-of.png +0 -0
- package/docs/images/object-boolean-any-of.png +0 -0
- package/docs/images/object-boolean-enum.png +0 -0
- package/docs/images/object-boolean-one-of.png +0 -0
- package/docs/images/object-boolean.png +0 -0
- package/docs/images/object-null-all-of.png +0 -0
- package/docs/images/object-null-any-of.png +0 -0
- package/docs/images/object-null-enum.png +0 -0
- package/docs/images/object-null-one-of.png +0 -0
- package/docs/images/object-null.png +0 -0
- package/docs/images/object-number-all-of.png +0 -0
- package/docs/images/object-number-any-of.png +0 -0
- package/docs/images/object-number-enum.png +0 -0
- package/docs/images/object-number-one-of.png +0 -0
- package/docs/images/object-number.png +0 -0
- package/docs/images/object-string-all-of.png +0 -0
- package/docs/images/object-string-any-of.png +0 -0
- package/docs/images/object-string-enum.png +0 -0
- package/docs/images/object-string-one-of.png +0 -0
- package/docs/images/object-string.png +0 -0
- package/docs/images/string-all-of.png +0 -0
- package/docs/images/string-any-of.png +0 -0
- package/docs/images/string-enum.png +0 -0
- package/docs/images/string-one-of.png +0 -0
- package/docs/images/string.png +0 -0
- package/docs/null.md +25 -0
- package/docs/number.md +25 -0
- package/docs/object.md +116 -0
- package/docs/string.md +25 -0
- package/package.json +33 -39
- package/src/common/index.d.mts +9 -0
- package/src/components/cogs/index.d.mts +7 -1
- package/src/components/cogs/index.mjs +8 -0
- package/src/components/gears/index.d.mts +5 -1
- package/src/components/gears/index.mjs +11 -0
- package/src/components/index.cjs +15 -0
- package/src/components/index.d.mts +13 -0
- package/src/components/index.mjs +4 -4
- package/src/components/pantograph/index.d.mts +5 -1
- package/src/components/pantograph/index.mjs +11 -0
- package/src/components/pinion/index.d.mts +5 -1
- package/src/components/rails/index.d.mts +5 -1
- package/src/components/signals/index.d.mts +5 -1
- package/src/components/sprockets/index.d.mts +7 -1
- package/src/components/sprockets/index.mjs +8 -0
- package/src/engine/index.d.mts +5 -1
- package/src/engine/index.jsx +3 -3
- package/src/index.d.mts +14 -10
- package/src/index.mjs +4 -4
- package/src/transformers/pinion/check-answers/index.d.mts +6 -2
- package/src/transformers/pinion/common/index.d.mts +5 -1
- package/src/transformers/pinion/error-message/index.d.mts +5 -1
- package/src/transformers/pinion/index.d.mts +7 -3
- package/src/transformers/transmission/from-document-to-hash/index.d.mts +5 -1
- package/src/transformers/transmission/from-hash-to-document/index.d.mts +5 -1
- package/src/transformers/transmission/index.d.mts +7 -3
- package/src/transformers/transmission/to-zashiki/index.d.mts +5 -1
- package/transform.sh +0 -4
- package/tsconfig.json +0 -11
- package/webpack.config.mjs +0 -129
package/babel.config.cjs
CHANGED
|
@@ -40,27 +40,7 @@ const presets = [
|
|
|
40
40
|
]
|
|
41
41
|
|
|
42
42
|
const plugins = [
|
|
43
|
-
'@babel/syntax-jsx'
|
|
44
|
-
[
|
|
45
|
-
'module-resolver', {
|
|
46
|
-
alias: {
|
|
47
|
-
/**
|
|
48
|
-
* Storybook - Engine
|
|
49
|
-
*/
|
|
50
|
-
'#stories/state/checkbox': './stories/state/checkbox/index.jsx',
|
|
51
|
-
'#stories/state/email': './stories/state/email/index.jsx',
|
|
52
|
-
'#stories/state/number': './stories/state/number/index.jsx',
|
|
53
|
-
'#stories/state/password': './stories/state/password/index.jsx',
|
|
54
|
-
'#stories/state/radio': './stories/state/radio/index.jsx',
|
|
55
|
-
'#stories/state/select': './stories/state/select/index.jsx',
|
|
56
|
-
'#stories/state/text': './stories/state/text/index.jsx',
|
|
57
|
-
'#stories/state/textarea': './stories/state/textarea/index.jsx',
|
|
58
|
-
'#stories/state': './stories/state/index.jsx',
|
|
59
|
-
'#stories/errors': './stories/errors.mjs',
|
|
60
|
-
'#stories': './stories'
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
43
|
+
'@babel/syntax-jsx'
|
|
64
44
|
]
|
|
65
45
|
|
|
66
46
|
module.exports = (api) => {
|
package/docs/array.md
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
|
|
2
|
+
## 3. Array
|
|
3
|
+
|
|
4
|
+
Arrays contain _one_ or _several_ values, which can be any type (including other arrays). Our Stories contain _single-value_ layouts which you can explore under _Controls_.
|
|
5
|
+
|
|
6
|
+
Whether _items is an object_ or _items is an array_ depends on how Zashiki interprets the JSON Schema (assuming that Zashiki has mechanically translated a JSON Schema into a description, and the description hasn't been generated manually). It matters for validating the _document_ according to the _schema_, but for humans the distinction may seem arbitrary. Our stories account for both structures.
|
|
7
|
+
|
|
8
|
+
### Array (_Items is an object_)
|
|
9
|
+
|
|
10
|
+
- [String](#3---1---1-array-items-is-an-object---string)
|
|
11
|
+
- [String (_Enum_)](#3---1---1---1-array-items-is-an-object---string-enum)
|
|
12
|
+
- [String (_Any of_)](#3---1---1---2-array-items-is-an-object---string-any-of)
|
|
13
|
+
- [String (_One of_)](#3---1---1---3-array-items-is-an-object---string-one-of)
|
|
14
|
+
- [Number](#3---1---2-array-items-is-an-object---number)
|
|
15
|
+
- [Number (_Enum_)](#3---1---2---1-array-items-is-an-object---number-enum)
|
|
16
|
+
- [Number (_Any of_)](#3---1---2---2-array-items-is-an-object---number-any-of)
|
|
17
|
+
- [Number (_One of_)](#3---1---2---3-array-items-is-an-object---number-one-of)
|
|
18
|
+
- [Boolean](#3---1---3-array-items-is-an-object---boolean)
|
|
19
|
+
- [Boolean (_Enum_)](#3---1---3---1-array-items-is-an-object---boolean-enum)
|
|
20
|
+
- [Boolean (_Any of_)](#3---1---3---2-array-items-is-an-object---boolean-any-of)
|
|
21
|
+
- [Boolean (_One of_)](#3---1---3---3-array-items-is-an-object---boolean-one-of)
|
|
22
|
+
- [Null](#3---1---4-array-items-is-an-object---null)
|
|
23
|
+
- [Null (_Enum_)](#3---1---4---1-array-items-is-an-object---null-enum)
|
|
24
|
+
- [Null (_Any of_)](#3---1---4---2-array-items-is-an-object---null-any-of)
|
|
25
|
+
- [Null (_One of_)](#3---1---4---3-array-items-is-an-object---null-one-of)
|
|
26
|
+
|
|
27
|
+
### Array (_Items is an array_)
|
|
28
|
+
|
|
29
|
+
- [String](#3---2---1-array-items-is-an-array---string)
|
|
30
|
+
- [String (_Enum_)](#3---2---1---1-array-items-is-an-array---string-enum)
|
|
31
|
+
- [String (_Any of_)](#3---2---1---2-array-items-is-an-array---string-any-of)
|
|
32
|
+
- [String (_One of_)](#3---2---1---3-array-items-is-an-array---string-one-of)
|
|
33
|
+
- [Number](#3---2---2-array-items-is-an-array---number)
|
|
34
|
+
- [Number (_Enum_)](#3---2---2---1-array-items-is-an-array---number-enum)
|
|
35
|
+
- [Number (_Any of_)](#3---2---2---2-array-items-is-an-array---number-any-of)
|
|
36
|
+
- [Number (_One of_)](#3---2---2---3-array-items-is-an-array---number-one-of)
|
|
37
|
+
- [Boolean](#3---2---3-array-items-is-an-array---boolean)
|
|
38
|
+
- [Boolean (_Enum_)](#3---2---3---1-array-items-is-an-array---boolean-enum)
|
|
39
|
+
- [Boolean (_Any of_)](#3---2---3---2-array-items-is-an-array---boolean-any-of)
|
|
40
|
+
- [Boolean (_One of_)](#3---2---3---3-array-items-is-an-array---boolean-one-of)
|
|
41
|
+
- [Null](#3---2---4-array-items-is-an-array---null)
|
|
42
|
+
- [Null (_Enum_)](#3---2---4---1-array-items-is-an-array---null-enum)
|
|
43
|
+
- [Null (_Any of_)](#3---2---4---2-array-items-is-an-array---null-any-of)
|
|
44
|
+
- [Null (_One of_)](#3---2---4---3-array-items-is-an-array---null-one-of)
|
|
45
|
+
|
|
46
|
+
### 3 - 1 - 1. Array (_Items is an object_) - String
|
|
47
|
+
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
_Back to [Array](#3-array)_
|
|
51
|
+
|
|
52
|
+
### 3 - 1 - 1 - 1. Array (_Items is an object_) - String (_Enum_)
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
_Back to [Array](#3-array)_
|
|
57
|
+
|
|
58
|
+
### 3 - 1 - 1 - 2. Array (_Items is an object_) - String (_Any Of_)
|
|
59
|
+
|
|
60
|
+

|
|
61
|
+
|
|
62
|
+
_Back to [Array](#3-array)_
|
|
63
|
+
|
|
64
|
+
### 3 - 1 - 1 - 3. Array (_Items is an object_) - String (_One Of_)
|
|
65
|
+
|
|
66
|
+

|
|
67
|
+
|
|
68
|
+
### 3 - 1 - 2. Array (_Items is an object_) - Number
|
|
69
|
+
|
|
70
|
+

|
|
71
|
+
|
|
72
|
+
_Back to [Array](#3-array)_
|
|
73
|
+
|
|
74
|
+
### 3 - 1 - 2 - 1. Array (_Items is an object_) - Number (_Enum_)
|
|
75
|
+
|
|
76
|
+

|
|
77
|
+
|
|
78
|
+
_Back to [Array](#3-array)_
|
|
79
|
+
|
|
80
|
+
### 3 - 1 - 2 - 2. Array (_Items is an object_) - Number (_Any Of_)
|
|
81
|
+
|
|
82
|
+

|
|
83
|
+
|
|
84
|
+
_Back to [Array](#3-array)_
|
|
85
|
+
|
|
86
|
+
### 3 - 1 - 2 - 3. Array (_Items is an object_) - Number (_One Of_)
|
|
87
|
+
|
|
88
|
+

|
|
89
|
+
|
|
90
|
+
_Back to [Array](#3-array)_
|
|
91
|
+
|
|
92
|
+
### 3 - 1 - 3. Array (_Items is an object_) - Boolean
|
|
93
|
+
|
|
94
|
+

|
|
95
|
+
|
|
96
|
+
_Back to [Array](#3-array)_
|
|
97
|
+
|
|
98
|
+
### 3 - 1 - 3 - 1. Array (_Items is an object_) - Boolean (_Enum_)
|
|
99
|
+
|
|
100
|
+

|
|
101
|
+
|
|
102
|
+
_Back to [Array](#3-array)_
|
|
103
|
+
|
|
104
|
+
### 3 - 1 - 3 - 2. Array (_Items is an object_) - Boolean (_Any Of_)
|
|
105
|
+
|
|
106
|
+

|
|
107
|
+
|
|
108
|
+
_Back to [Array](#3-array)_
|
|
109
|
+
|
|
110
|
+
### 3 - 1 - 3 - 3. Array (_Items is an object_) - Boolean (_One Of_)
|
|
111
|
+
|
|
112
|
+

|
|
113
|
+
|
|
114
|
+
_Back to [Array](#3-array)_
|
|
115
|
+
|
|
116
|
+
### 3 - 1 - 4. Array (_Items is an object_) - Null
|
|
117
|
+
|
|
118
|
+

|
|
119
|
+
|
|
120
|
+
_Back to [Array](#3-array)_
|
|
121
|
+
|
|
122
|
+
### 3 - 1 - 4 - 1. Array (_Items is an object_) - Null (_Enum_)
|
|
123
|
+
|
|
124
|
+

|
|
125
|
+
|
|
126
|
+
_Back to [Array](#3-array)_
|
|
127
|
+
|
|
128
|
+
### 3 - 1 - 4 - 2. Array (_Items is an object_) - Null (_Any Of_)
|
|
129
|
+
|
|
130
|
+

|
|
131
|
+
|
|
132
|
+
_Back to [Array](#3-array)_
|
|
133
|
+
|
|
134
|
+
### 3 - 1 - 4 - 3. Array (_Items is an object_) - Null (_One Of_)
|
|
135
|
+
|
|
136
|
+

|
|
137
|
+
|
|
138
|
+
_Back to [Array](#3-array)_
|
|
139
|
+
|
|
140
|
+
### 3 - 2 - 1. Array (_Items is an array_) - String
|
|
141
|
+
|
|
142
|
+

|
|
143
|
+
|
|
144
|
+
_Back to [Array](#3-array)_
|
|
145
|
+
|
|
146
|
+
### 3 - 2 - 1 - 1. Array (_Items is an array_) - String (_Enum_)
|
|
147
|
+
|
|
148
|
+

|
|
149
|
+
|
|
150
|
+
_Back to [Array](#3-array)_
|
|
151
|
+
|
|
152
|
+
### 3 - 2 - 1 - 2. Array (_Items is an array_) - String (_Any Of_)
|
|
153
|
+
|
|
154
|
+

|
|
155
|
+
|
|
156
|
+
_Back to [Array](#3-array)_
|
|
157
|
+
|
|
158
|
+
### 3 - 2 - 1 - 3. Array (_Items is an array_) - String (_One Of_)
|
|
159
|
+
|
|
160
|
+

|
|
161
|
+
|
|
162
|
+
### 3 - 2 - 2. Array (_Items is an array_) - Number
|
|
163
|
+
|
|
164
|
+

|
|
165
|
+
|
|
166
|
+
_Back to [Array](#3-array)_
|
|
167
|
+
|
|
168
|
+
### 3 - 2 - 2 - 1. Array (_Items is an array_) - Number (_Enum_)
|
|
169
|
+
|
|
170
|
+

|
|
171
|
+
|
|
172
|
+
_Back to [Array](#3-array)_
|
|
173
|
+
|
|
174
|
+
### 3 - 2 - 2 - 2. Array (_Items is an array_) - Number (_Any Of_)
|
|
175
|
+
|
|
176
|
+

|
|
177
|
+
|
|
178
|
+
_Back to [Array](#3-array)_
|
|
179
|
+
|
|
180
|
+
### 3 - 2 - 2 - 3. Array (_Items is an array_) - Number (_One Of_)
|
|
181
|
+
|
|
182
|
+

|
|
183
|
+
|
|
184
|
+
_Back to [Array](#3-array)_
|
|
185
|
+
|
|
186
|
+
### 3 - 2 - 3. Array (_Items is an array_) - Boolean
|
|
187
|
+
|
|
188
|
+

|
|
189
|
+
|
|
190
|
+
_Back to [Array](#3-array)_
|
|
191
|
+
|
|
192
|
+
### 3 - 2 - 3 - 1. Array (_Items is an array_) - Boolean (_Enum_)
|
|
193
|
+
|
|
194
|
+

|
|
195
|
+
|
|
196
|
+
_Back to [Array](#3-array)_
|
|
197
|
+
|
|
198
|
+
### 3 - 2 - 3 - 2. Array (_Items is an array_) - Boolean (_Any Of_)
|
|
199
|
+
|
|
200
|
+

|
|
201
|
+
|
|
202
|
+
_Back to [Array](#3-array)_
|
|
203
|
+
|
|
204
|
+
### 3 - 2 - 3 - 3. Array (_Items is an array_) - Boolean (_One Of_)
|
|
205
|
+
|
|
206
|
+

|
|
207
|
+
|
|
208
|
+
_Back to [Array](#3-array)_
|
|
209
|
+
|
|
210
|
+
### 3 - 2 - 4. Array (_Items is an array_) - Null
|
|
211
|
+
|
|
212
|
+

|
|
213
|
+
|
|
214
|
+
_Back to [Array](#3-array)_
|
|
215
|
+
|
|
216
|
+
### 3 - 2 - 4 - 1. Array (_Items is an array_) - Null (_Enum_)
|
|
217
|
+
|
|
218
|
+

|
|
219
|
+
|
|
220
|
+
_Back to [Array](#3-array)_
|
|
221
|
+
|
|
222
|
+
### 3 - 2 - 4 - 2. Array (_Items is an array_) - Null (_Any Of_)
|
|
223
|
+
|
|
224
|
+

|
|
225
|
+
|
|
226
|
+
_Back to [Array](#3-array)_
|
|
227
|
+
|
|
228
|
+
### 3 - 2 - 4 - 3. Array (_Items is an array_) - Null (_One Of_)
|
|
229
|
+
|
|
230
|
+

|
|
231
|
+
|
|
232
|
+
_Back to [Array](#3-array)_
|
package/docs/boolean.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## 5. Boolean
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
- [Boolean (_Enum_)](#5---1-boolean-enum)
|
|
6
|
+
- [Boolean (_Any of_)](#5---2-boolean-any-of)
|
|
7
|
+
- [Boolean (_One of_)](#5---3-boolean-one-of)
|
|
8
|
+
|
|
9
|
+
### 5 - 1. Boolean (_Enum_)
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
_Back to [Boolean](#5-boolean)_
|
|
14
|
+
|
|
15
|
+
### 5 - 2. Boolean (_Any Of_)
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
_Back to [Boolean](#5-boolean)_
|
|
20
|
+
|
|
21
|
+
### 5 - 3. Boolean (_One Of_)
|
|
22
|
+
|
|
23
|
+

|
|
24
|
+
|
|
25
|
+
_Back to [Boolean](#5-boolean)_
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/docs/null.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## 6. Null
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
- [Null (_Enum_)](#6---1-null-enum)
|
|
6
|
+
- [Null (_Any of_)](#6---2-null-any-of)
|
|
7
|
+
- [Null (_One of_)](#6---3-null-one-of)
|
|
8
|
+
|
|
9
|
+
### 6 - 1. Null (_Enum_)
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
_Back to [Null](#6-null)_
|
|
14
|
+
|
|
15
|
+
### 6 - 2. Null (_Any Of_)
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
_Back to [Null](#6-null)_
|
|
20
|
+
|
|
21
|
+
### 6 - 3. Null (_One Of_)
|
|
22
|
+
|
|
23
|
+

|
|
24
|
+
|
|
25
|
+
_Back to [Null](#6-null)_
|
package/docs/number.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## 2. Number
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
- [Number (_Enum_)](#2---1-number-enum)
|
|
6
|
+
- [Number (_Any of_)](#2---2-number-any-of)
|
|
7
|
+
- [Number (_One of_)](#2---3-number-one-of)
|
|
8
|
+
|
|
9
|
+
### 2 - 1. Number (_Enum_)
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
_Back to [Number](#2-number)_
|
|
14
|
+
|
|
15
|
+
### 2 - 2. Number (_Any Of_)
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
_Back to [Number](#2-number)_
|
|
20
|
+
|
|
21
|
+
### 2 - 3. Number (_One Of_)
|
|
22
|
+
|
|
23
|
+

|
|
24
|
+
|
|
25
|
+
_Back to [Number](#2-number)_
|
package/docs/object.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
## 4. Object
|
|
2
|
+
|
|
3
|
+
Objects contain _one_ or _several_ values, which can be any type (including other objects). Our Stories contain _single-value_ layouts which you can explore under _Controls_.
|
|
4
|
+
|
|
5
|
+
- [Object - String](#4---1-object---string)
|
|
6
|
+
- [Object - String (_Enum_)](#4---1---1-object---string-enum)
|
|
7
|
+
- [Object - String (_Any of_)](#4---1---2-object---string-any-of)
|
|
8
|
+
- [Object - String (_One of_)](#4---1---3-object---string-one-of)
|
|
9
|
+
- [Object - Number](#4---2-object---number)
|
|
10
|
+
- [Object - Number (_Enum_)](#4---2---1-object---number-enum)
|
|
11
|
+
- [Object - Number (_Any of_)](#4---2---2-object---number-any-of)
|
|
12
|
+
- [Object - Number (_One of_)](#4---2---3-object---number-one-of)
|
|
13
|
+
- [Object - Boolean](#4---3-object---boolean)
|
|
14
|
+
- [Object - Boolean (_Enum_)](#4---3---1-object---boolean-enum)
|
|
15
|
+
- [Object - Boolean (_Any of_)](#4---3---2-object---boolean-any-of)
|
|
16
|
+
- [Object - Boolean (_One of_)](#4---3---3-object---boolean-one-of)
|
|
17
|
+
- [Object - Null](#4---4-object---null)
|
|
18
|
+
- [Object - Null (_Enum_)](#4---4---1-object---null-enum)
|
|
19
|
+
- [Object - Null (_Any of_)](#4---4---2-object---null-any-of)
|
|
20
|
+
- [Object - Null (_One of_)](#4---4---3-object---null-one-of)
|
|
21
|
+
|
|
22
|
+
### 4 - 1. Object - String
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
_Back to [Object](#4-object)_
|
|
27
|
+
|
|
28
|
+
### 4 - 1 - 1. Object - String (_Enum_)
|
|
29
|
+
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
_Back to [Object](#4-object)_
|
|
33
|
+
|
|
34
|
+
### 4 - 1 - 2. Object - String (_Any Of_)
|
|
35
|
+
|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
_Back to [Object](#4-object)_
|
|
39
|
+
|
|
40
|
+
### 4 - 1 - 3. Object - String (_One Of_)
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
_Back to [Object](#4-object)_
|
|
45
|
+
|
|
46
|
+
### 4 - 2. Object - Number
|
|
47
|
+
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
_Back to [Object](#4-object)_
|
|
51
|
+
|
|
52
|
+
### 4 - 2 - 1. Object - Number (_Enum_)
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
_Back to [Object](#4-object)_
|
|
57
|
+
|
|
58
|
+
### 4 - 2 - 2. Object - Number (_Any Of_)
|
|
59
|
+
|
|
60
|
+

|
|
61
|
+
|
|
62
|
+
_Back to [Object](#4-object)_
|
|
63
|
+
|
|
64
|
+
### 4 - 2 - 3. Object - Number (_One Of_)
|
|
65
|
+
|
|
66
|
+

|
|
67
|
+
|
|
68
|
+
_Back to [Object](#4-object)_
|
|
69
|
+
|
|
70
|
+
### 4 - 3. Object - Boolean
|
|
71
|
+
|
|
72
|
+

|
|
73
|
+
|
|
74
|
+
_Back to [Object](#4-object)_
|
|
75
|
+
|
|
76
|
+
### 4 - 3 - 1. Object - Boolean (_Enum_)
|
|
77
|
+
|
|
78
|
+

|
|
79
|
+
|
|
80
|
+
_Back to [Object](#4-object)_
|
|
81
|
+
|
|
82
|
+
### 4 - 3 - 2. Object - Boolean (_Any Of_)
|
|
83
|
+
|
|
84
|
+

|
|
85
|
+
|
|
86
|
+
_Back to [Object](#4-object)_
|
|
87
|
+
|
|
88
|
+
### 4 - 3 - 3. Object - Boolean (_One Of_)
|
|
89
|
+
|
|
90
|
+

|
|
91
|
+
|
|
92
|
+
_Back to [Object](#4-object)_
|
|
93
|
+
|
|
94
|
+
### 4 - 4. Object - Null
|
|
95
|
+
|
|
96
|
+

|
|
97
|
+
|
|
98
|
+
_Back to [Object](#4-object)_
|
|
99
|
+
|
|
100
|
+
### 4 - 4 - 1. Object - Null (_Enum_)
|
|
101
|
+
|
|
102
|
+

|
|
103
|
+
|
|
104
|
+
_Back to [Object](#4-object)_
|
|
105
|
+
|
|
106
|
+
### 4 - 4 - 2. Object - Null (_Any Of_)
|
|
107
|
+
|
|
108
|
+

|
|
109
|
+
|
|
110
|
+
_Back to [Object](#4-object)_
|
|
111
|
+
|
|
112
|
+
### 4 - 4 - 3. Object - Null (_One Of_)
|
|
113
|
+
|
|
114
|
+

|
|
115
|
+
|
|
116
|
+
_Back to [Object](#4-object)_
|