use-wc 1.0.0-pre.70 → 1.0.0-pre.72

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.
@@ -3097,6 +3097,241 @@
3097
3097
  }
3098
3098
  ]
3099
3099
  },
3100
+ {
3101
+ "kind": "javascript-module",
3102
+ "path": "src/elements/use-layout/use-layout.ts",
3103
+ "declarations": [
3104
+ {
3105
+ "kind": "class",
3106
+ "description": "`use-layout` is a configurable flex-container primitive, styled entirely by the design\nsystem's theme layer (`theme/layout.css`) rather than by any shadow DOM here — this element\nrenders its light-DOM children exactly as given and exists only to give its attributes real,\ntyped properties, so an author gets autocomplete and a type checker gets something to check\ninstead of a bag of untyped strings.\n\nDirection, alignment, justification, named gap/padding scales, wrapping, and inline vs. block\ndisplay are all driven by these properties, reflected onto the matching attribute for the\ntheme's CSS to read. Five variant classes (`page`, `entry`, `message`, `card`, `media`) and\ntheir modifiers (`.divided`, `.compact`, `.outlined`, `.flush`) stay plain classes rather than\nproperties here — the same as any other themed class in this system, like `use-avatar`'s\n`.circle`/`.square`.\n\n```html\n<use-layout direction=\"row\" gap=\"small\">\n <button type=\"button\">One</button>\n <button type=\"button\">Two</button>\n</use-layout>\n```\n\nWhen a direct child `use-layout` carries `fill`, that child grows to consume the remaining\nspace and its siblings are pinned so they can't shrink; with no such child, `use-layout` is a\nbare flex container that leaves its children alone.",
3107
+ "name": "UseLayout",
3108
+ "slots": [
3109
+ {
3110
+ "description": "The container's content. Untouched otherwise — `use-layout` renders no shadow DOM and arranges its children with CSS alone.",
3111
+ "name": ""
3112
+ }
3113
+ ],
3114
+ "members": [
3115
+ {
3116
+ "kind": "field",
3117
+ "name": "direction",
3118
+ "type": {
3119
+ "text": "Direction"
3120
+ },
3121
+ "default": "\"column\"",
3122
+ "attribute": "direction",
3123
+ "reflects": true
3124
+ },
3125
+ {
3126
+ "kind": "field",
3127
+ "name": "align",
3128
+ "type": {
3129
+ "text": "Align"
3130
+ },
3131
+ "default": "\"\"",
3132
+ "attribute": "align",
3133
+ "reflects": true
3134
+ },
3135
+ {
3136
+ "kind": "field",
3137
+ "name": "justify",
3138
+ "type": {
3139
+ "text": "Justify"
3140
+ },
3141
+ "default": "\"\"",
3142
+ "attribute": "justify",
3143
+ "reflects": true
3144
+ },
3145
+ {
3146
+ "kind": "field",
3147
+ "name": "gap",
3148
+ "type": {
3149
+ "text": "Gap"
3150
+ },
3151
+ "default": "\"\"",
3152
+ "attribute": "gap",
3153
+ "reflects": true
3154
+ },
3155
+ {
3156
+ "kind": "field",
3157
+ "name": "padding",
3158
+ "type": {
3159
+ "text": "Padding"
3160
+ },
3161
+ "default": "\"\"",
3162
+ "attribute": "padding",
3163
+ "reflects": true
3164
+ },
3165
+ {
3166
+ "kind": "field",
3167
+ "name": "paddingBlock",
3168
+ "type": {
3169
+ "text": "Padding"
3170
+ },
3171
+ "default": "\"\"",
3172
+ "attribute": "padding-block",
3173
+ "reflects": true
3174
+ },
3175
+ {
3176
+ "kind": "field",
3177
+ "name": "paddingInline",
3178
+ "type": {
3179
+ "text": "Padding"
3180
+ },
3181
+ "default": "\"\"",
3182
+ "attribute": "padding-inline",
3183
+ "reflects": true
3184
+ },
3185
+ {
3186
+ "kind": "field",
3187
+ "name": "wrap",
3188
+ "type": {
3189
+ "text": "boolean"
3190
+ },
3191
+ "default": "false",
3192
+ "attribute": "wrap",
3193
+ "reflects": true
3194
+ },
3195
+ {
3196
+ "kind": "field",
3197
+ "name": "inline",
3198
+ "type": {
3199
+ "text": "boolean"
3200
+ },
3201
+ "default": "false",
3202
+ "attribute": "inline",
3203
+ "reflects": true
3204
+ },
3205
+ {
3206
+ "kind": "field",
3207
+ "name": "fill",
3208
+ "type": {
3209
+ "text": "boolean"
3210
+ },
3211
+ "default": "false",
3212
+ "attribute": "fill",
3213
+ "reflects": true
3214
+ }
3215
+ ],
3216
+ "attributes": [
3217
+ {
3218
+ "description": "`column` (the default) or `row`.",
3219
+ "name": "direction",
3220
+ "type": {
3221
+ "text": "Direction"
3222
+ },
3223
+ "default": "\"column\"",
3224
+ "fieldName": "direction"
3225
+ },
3226
+ {
3227
+ "description": "Maps to `align-items`: `start`, `center`, `end`, or `stretch`. Left empty, no attribute is set and the browser's own default applies.",
3228
+ "name": "align",
3229
+ "type": {
3230
+ "text": "Align"
3231
+ },
3232
+ "default": "\"\"",
3233
+ "fieldName": "align"
3234
+ },
3235
+ {
3236
+ "description": "Maps to `justify-content`: `start`, `center`, `end`, `space-between`, or `space-around`. Left empty, no attribute is set.",
3237
+ "name": "justify",
3238
+ "type": {
3239
+ "text": "Justify"
3240
+ },
3241
+ "default": "\"\"",
3242
+ "fieldName": "justify"
3243
+ },
3244
+ {
3245
+ "description": "A named scale from `xsmall` to `super`. Left empty, no attribute is set and the container has no gap of its own.",
3246
+ "name": "gap",
3247
+ "type": {
3248
+ "text": "Gap"
3249
+ },
3250
+ "default": "\"\"",
3251
+ "fieldName": "gap"
3252
+ },
3253
+ {
3254
+ "description": "A named scale from `xsmall` to `super`, or `none` for an explicit zero, applied to all four sides. Left empty, no attribute is set. Set `padding-block`/`padding-inline` instead for different values per axis.",
3255
+ "name": "padding",
3256
+ "type": {
3257
+ "text": "Padding"
3258
+ },
3259
+ "default": "\"\"",
3260
+ "fieldName": "padding"
3261
+ },
3262
+ {
3263
+ "description": "A named scale from `xsmall` to `super`, or `none`, applied to the block axis only. Left empty, no attribute is set.",
3264
+ "name": "padding-block",
3265
+ "type": {
3266
+ "text": "Padding"
3267
+ },
3268
+ "default": "\"\"",
3269
+ "fieldName": "paddingBlock"
3270
+ },
3271
+ {
3272
+ "description": "A named scale from `xsmall` to `super`, or `none`, applied to the inline axis only. Left empty, no attribute is set.",
3273
+ "name": "padding-inline",
3274
+ "type": {
3275
+ "text": "Padding"
3276
+ },
3277
+ "default": "\"\"",
3278
+ "fieldName": "paddingInline"
3279
+ },
3280
+ {
3281
+ "description": "Maps to `flex-wrap: wrap`.",
3282
+ "name": "wrap",
3283
+ "type": {
3284
+ "text": "boolean"
3285
+ },
3286
+ "default": "false",
3287
+ "fieldName": "wrap"
3288
+ },
3289
+ {
3290
+ "description": "Renders as `inline-flex` rather than `flex`.",
3291
+ "name": "inline",
3292
+ "type": {
3293
+ "text": "boolean"
3294
+ },
3295
+ "default": "false",
3296
+ "fieldName": "inline"
3297
+ },
3298
+ {
3299
+ "description": "Read only on a direct child `use-layout`: that child grows to fill the remaining space and every other child is pinned so it can't shrink.",
3300
+ "name": "fill",
3301
+ "type": {
3302
+ "text": "boolean"
3303
+ },
3304
+ "default": "false",
3305
+ "fieldName": "fill"
3306
+ }
3307
+ ],
3308
+ "superclass": {
3309
+ "name": "LitElement",
3310
+ "package": "lit"
3311
+ },
3312
+ "tagName": "use-layout",
3313
+ "customElement": true
3314
+ }
3315
+ ],
3316
+ "exports": [
3317
+ {
3318
+ "kind": "js",
3319
+ "name": "UseLayout",
3320
+ "declaration": {
3321
+ "name": "UseLayout",
3322
+ "module": "src/elements/use-layout/use-layout.ts"
3323
+ }
3324
+ },
3325
+ {
3326
+ "kind": "custom-element-definition",
3327
+ "name": "use-layout",
3328
+ "declaration": {
3329
+ "name": "UseLayout",
3330
+ "module": "src/elements/use-layout/use-layout.ts"
3331
+ }
3332
+ }
3333
+ ]
3334
+ },
3100
3335
  {
3101
3336
  "kind": "javascript-module",
3102
3337
  "path": "src/elements/use-listbox-input/use-listbox-input.ts",