@skedulo/breeze-ui 0.9.0 → 0.9.1
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/dist/custom-elements.json +273 -231
- package/dist/lib/cjs/breeze-ui.js +262 -238
- package/dist/lib/es/breeze-ui.js +3516 -3471
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/components/inline-edit/inline-edit-field.d.ts +12 -1
- package/dist/types/components/inline-edit/inline-edit-field.d.ts.map +1 -1
- package/dist/types/components/inline-edit/inline-edit-group.d.ts.map +1 -1
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts.map +1 -1
- package/dist/types/components/record-field/record-field.styles.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -18496,6 +18496,97 @@
|
|
|
18496
18496
|
}
|
|
18497
18497
|
]
|
|
18498
18498
|
},
|
|
18499
|
+
{
|
|
18500
|
+
"kind": "javascript-module",
|
|
18501
|
+
"path": "src/helpers/css-helpers.ts",
|
|
18502
|
+
"declarations": [
|
|
18503
|
+
{
|
|
18504
|
+
"kind": "function",
|
|
18505
|
+
"name": "getFocusStyles",
|
|
18506
|
+
"parameters": [
|
|
18507
|
+
{
|
|
18508
|
+
"name": "selector",
|
|
18509
|
+
"type": {
|
|
18510
|
+
"text": "string"
|
|
18511
|
+
},
|
|
18512
|
+
"description": "A CSS selector targeting an interactive element."
|
|
18513
|
+
},
|
|
18514
|
+
{
|
|
18515
|
+
"name": "extraRules",
|
|
18516
|
+
"default": "css``",
|
|
18517
|
+
"description": "Optional rules to append. Useful for overrides."
|
|
18518
|
+
}
|
|
18519
|
+
],
|
|
18520
|
+
"description": "Returns a CSSResult applying focus outline styles to a given interactive\nelement. Reduces repetition throughout multiple components.\n\nTargets modern `:focus-visible` by default and includes a `:focus` fallback\nfor older browsers."
|
|
18521
|
+
},
|
|
18522
|
+
{
|
|
18523
|
+
"kind": "variable",
|
|
18524
|
+
"name": "invisibleButtonRules",
|
|
18525
|
+
"default": "css`\n background: none;\n border: 0;\n border-radius: var(--brz-border-radius-default);\n color: var(--brz-color-neutral-750);\n cursor: pointer;\n display: inline-flex;\n font: inherit;\n margin: 0;\n padding: 0;\n`",
|
|
18526
|
+
"description": "CSS rules to apply invisible styles to buttons. Use within a CSS declaration\nblock."
|
|
18527
|
+
},
|
|
18528
|
+
{
|
|
18529
|
+
"kind": "function",
|
|
18530
|
+
"name": "getInvisibleButtonStyles",
|
|
18531
|
+
"parameters": [
|
|
18532
|
+
{
|
|
18533
|
+
"name": "selector",
|
|
18534
|
+
"type": {
|
|
18535
|
+
"text": "string"
|
|
18536
|
+
},
|
|
18537
|
+
"description": "A CSS selector targeting a button"
|
|
18538
|
+
},
|
|
18539
|
+
{
|
|
18540
|
+
"name": "extraRules",
|
|
18541
|
+
"default": "css``",
|
|
18542
|
+
"description": "Optional rules to append. Useful for overrides."
|
|
18543
|
+
}
|
|
18544
|
+
],
|
|
18545
|
+
"description": "Returns a CSSResult applying invisible styles to a button matching the given\nselector. Invisible buttons are a common pattern for icon-only close buttons.\n\nSince this applies to buttons, default focus styles are also automatically\nincluded for the selector. If you don't need them, or need to customise them,\nuse `invisibleButtonStyles` and `getFocusStyles()` separately instead."
|
|
18546
|
+
}
|
|
18547
|
+
],
|
|
18548
|
+
"exports": [
|
|
18549
|
+
{
|
|
18550
|
+
"kind": "js",
|
|
18551
|
+
"name": "getFocusStyles",
|
|
18552
|
+
"declaration": {
|
|
18553
|
+
"name": "getFocusStyles",
|
|
18554
|
+
"module": "src/helpers/css-helpers.ts"
|
|
18555
|
+
}
|
|
18556
|
+
},
|
|
18557
|
+
{
|
|
18558
|
+
"kind": "js",
|
|
18559
|
+
"name": "invisibleButtonRules",
|
|
18560
|
+
"declaration": {
|
|
18561
|
+
"name": "invisibleButtonRules",
|
|
18562
|
+
"module": "src/helpers/css-helpers.ts"
|
|
18563
|
+
}
|
|
18564
|
+
},
|
|
18565
|
+
{
|
|
18566
|
+
"kind": "js",
|
|
18567
|
+
"name": "getInvisibleButtonStyles",
|
|
18568
|
+
"declaration": {
|
|
18569
|
+
"name": "getInvisibleButtonStyles",
|
|
18570
|
+
"module": "src/helpers/css-helpers.ts"
|
|
18571
|
+
}
|
|
18572
|
+
}
|
|
18573
|
+
]
|
|
18574
|
+
},
|
|
18575
|
+
{
|
|
18576
|
+
"kind": "javascript-module",
|
|
18577
|
+
"path": "src/helpers/index.ts",
|
|
18578
|
+
"declarations": [],
|
|
18579
|
+
"exports": [
|
|
18580
|
+
{
|
|
18581
|
+
"kind": "js",
|
|
18582
|
+
"name": "*",
|
|
18583
|
+
"declaration": {
|
|
18584
|
+
"name": "*",
|
|
18585
|
+
"package": "./css-helpers"
|
|
18586
|
+
}
|
|
18587
|
+
}
|
|
18588
|
+
]
|
|
18589
|
+
},
|
|
18499
18590
|
{
|
|
18500
18591
|
"kind": "javascript-module",
|
|
18501
18592
|
"path": "src/layout/flex.ts",
|
|
@@ -19213,91 +19304,181 @@
|
|
|
19213
19304
|
},
|
|
19214
19305
|
{
|
|
19215
19306
|
"kind": "javascript-module",
|
|
19216
|
-
"path": "src/
|
|
19307
|
+
"path": "src/storybook/colors.stories.ts",
|
|
19217
19308
|
"declarations": [
|
|
19218
19309
|
{
|
|
19219
|
-
"kind": "
|
|
19220
|
-
"
|
|
19221
|
-
"
|
|
19310
|
+
"kind": "class",
|
|
19311
|
+
"description": "Story component to render a colour swatch.\nWill extract the hex code from a supplied color var and use it as the background.",
|
|
19312
|
+
"name": "ColorSwatch",
|
|
19313
|
+
"members": [
|
|
19222
19314
|
{
|
|
19223
|
-
"
|
|
19315
|
+
"kind": "field",
|
|
19316
|
+
"name": "colorVar",
|
|
19224
19317
|
"type": {
|
|
19225
19318
|
"text": "string"
|
|
19226
19319
|
},
|
|
19227
|
-
"
|
|
19320
|
+
"default": "''",
|
|
19321
|
+
"attribute": "colorVar"
|
|
19228
19322
|
},
|
|
19229
19323
|
{
|
|
19230
|
-
"
|
|
19231
|
-
"
|
|
19232
|
-
"
|
|
19324
|
+
"kind": "field",
|
|
19325
|
+
"name": "lightText",
|
|
19326
|
+
"type": {
|
|
19327
|
+
"text": "boolean"
|
|
19328
|
+
},
|
|
19329
|
+
"default": "false",
|
|
19330
|
+
"attribute": "light-text"
|
|
19233
19331
|
}
|
|
19234
19332
|
],
|
|
19235
|
-
"
|
|
19236
|
-
},
|
|
19237
|
-
{
|
|
19238
|
-
"kind": "variable",
|
|
19239
|
-
"name": "invisibleButtonRules",
|
|
19240
|
-
"default": "css`\n background: none;\n border: 0;\n border-radius: var(--brz-border-radius-default);\n color: var(--brz-color-neutral-750);\n cursor: pointer;\n display: inline-flex;\n font: inherit;\n margin: 0;\n padding: 0;\n`",
|
|
19241
|
-
"description": "CSS rules to apply invisible styles to buttons. Use within a CSS declaration\nblock."
|
|
19242
|
-
},
|
|
19243
|
-
{
|
|
19244
|
-
"kind": "function",
|
|
19245
|
-
"name": "getInvisibleButtonStyles",
|
|
19246
|
-
"parameters": [
|
|
19333
|
+
"attributes": [
|
|
19247
19334
|
{
|
|
19248
|
-
"name": "
|
|
19335
|
+
"name": "colorVar",
|
|
19249
19336
|
"type": {
|
|
19250
19337
|
"text": "string"
|
|
19251
19338
|
},
|
|
19252
|
-
"
|
|
19339
|
+
"default": "''",
|
|
19340
|
+
"fieldName": "colorVar"
|
|
19253
19341
|
},
|
|
19254
19342
|
{
|
|
19255
|
-
"name": "
|
|
19256
|
-
"
|
|
19257
|
-
|
|
19343
|
+
"name": "light-text",
|
|
19344
|
+
"type": {
|
|
19345
|
+
"text": "boolean"
|
|
19346
|
+
},
|
|
19347
|
+
"default": "false",
|
|
19348
|
+
"fieldName": "lightText"
|
|
19258
19349
|
}
|
|
19259
19350
|
],
|
|
19260
|
-
"
|
|
19351
|
+
"superclass": {
|
|
19352
|
+
"name": "LitElement",
|
|
19353
|
+
"package": "lit"
|
|
19354
|
+
},
|
|
19355
|
+
"tagName": "brz-sb-color-swatch",
|
|
19356
|
+
"customElement": true
|
|
19357
|
+
},
|
|
19358
|
+
{
|
|
19359
|
+
"kind": "class",
|
|
19360
|
+
"description": "Story component for laying out a group of swatches",
|
|
19361
|
+
"name": "ColorSwatchGroup",
|
|
19362
|
+
"members": [
|
|
19363
|
+
{
|
|
19364
|
+
"kind": "field",
|
|
19365
|
+
"name": "stacked",
|
|
19366
|
+
"type": {
|
|
19367
|
+
"text": "boolean"
|
|
19368
|
+
},
|
|
19369
|
+
"default": "false",
|
|
19370
|
+
"attribute": "stacked"
|
|
19371
|
+
}
|
|
19372
|
+
],
|
|
19373
|
+
"attributes": [
|
|
19374
|
+
{
|
|
19375
|
+
"name": "stacked",
|
|
19376
|
+
"type": {
|
|
19377
|
+
"text": "boolean"
|
|
19378
|
+
},
|
|
19379
|
+
"default": "false",
|
|
19380
|
+
"fieldName": "stacked"
|
|
19381
|
+
}
|
|
19382
|
+
],
|
|
19383
|
+
"superclass": {
|
|
19384
|
+
"name": "LitElement",
|
|
19385
|
+
"package": "lit"
|
|
19386
|
+
},
|
|
19387
|
+
"tagName": "brz-sb-color-swatch-group",
|
|
19388
|
+
"customElement": true
|
|
19261
19389
|
}
|
|
19262
19390
|
],
|
|
19263
19391
|
"exports": [
|
|
19264
19392
|
{
|
|
19265
19393
|
"kind": "js",
|
|
19266
|
-
"name": "
|
|
19394
|
+
"name": "ColorSwatch",
|
|
19267
19395
|
"declaration": {
|
|
19268
|
-
"name": "
|
|
19269
|
-
"module": "src/
|
|
19396
|
+
"name": "ColorSwatch",
|
|
19397
|
+
"module": "src/storybook/colors.stories.ts"
|
|
19270
19398
|
}
|
|
19271
19399
|
},
|
|
19272
19400
|
{
|
|
19273
|
-
"kind": "
|
|
19274
|
-
"name": "
|
|
19401
|
+
"kind": "custom-element-definition",
|
|
19402
|
+
"name": "brz-sb-color-swatch",
|
|
19275
19403
|
"declaration": {
|
|
19276
|
-
"name": "
|
|
19277
|
-
"module": "src/
|
|
19404
|
+
"name": "ColorSwatch",
|
|
19405
|
+
"module": "src/storybook/colors.stories.ts"
|
|
19278
19406
|
}
|
|
19279
19407
|
},
|
|
19280
19408
|
{
|
|
19281
19409
|
"kind": "js",
|
|
19282
|
-
"name": "
|
|
19410
|
+
"name": "ColorSwatchGroup",
|
|
19283
19411
|
"declaration": {
|
|
19284
|
-
"name": "
|
|
19285
|
-
"module": "src/
|
|
19412
|
+
"name": "ColorSwatchGroup",
|
|
19413
|
+
"module": "src/storybook/colors.stories.ts"
|
|
19414
|
+
}
|
|
19415
|
+
},
|
|
19416
|
+
{
|
|
19417
|
+
"kind": "custom-element-definition",
|
|
19418
|
+
"name": "brz-sb-color-swatch-group",
|
|
19419
|
+
"declaration": {
|
|
19420
|
+
"name": "ColorSwatchGroup",
|
|
19421
|
+
"module": "src/storybook/colors.stories.ts"
|
|
19286
19422
|
}
|
|
19287
19423
|
}
|
|
19288
19424
|
]
|
|
19289
19425
|
},
|
|
19290
19426
|
{
|
|
19291
19427
|
"kind": "javascript-module",
|
|
19292
|
-
"path": "src/
|
|
19293
|
-
"declarations": [
|
|
19428
|
+
"path": "src/storybook/fade-in-out.stories.ts",
|
|
19429
|
+
"declarations": [
|
|
19430
|
+
{
|
|
19431
|
+
"kind": "class",
|
|
19432
|
+
"description": "",
|
|
19433
|
+
"name": "FadeInOutStory",
|
|
19434
|
+
"members": [
|
|
19435
|
+
{
|
|
19436
|
+
"kind": "field",
|
|
19437
|
+
"name": "shown",
|
|
19438
|
+
"type": {
|
|
19439
|
+
"text": "boolean"
|
|
19440
|
+
},
|
|
19441
|
+
"default": "false",
|
|
19442
|
+
"attribute": "shown"
|
|
19443
|
+
},
|
|
19444
|
+
{
|
|
19445
|
+
"kind": "method",
|
|
19446
|
+
"name": "handleToggle"
|
|
19447
|
+
}
|
|
19448
|
+
],
|
|
19449
|
+
"attributes": [
|
|
19450
|
+
{
|
|
19451
|
+
"name": "shown",
|
|
19452
|
+
"type": {
|
|
19453
|
+
"text": "boolean"
|
|
19454
|
+
},
|
|
19455
|
+
"default": "false",
|
|
19456
|
+
"fieldName": "shown"
|
|
19457
|
+
}
|
|
19458
|
+
],
|
|
19459
|
+
"superclass": {
|
|
19460
|
+
"name": "LitElement",
|
|
19461
|
+
"package": "lit"
|
|
19462
|
+
},
|
|
19463
|
+
"tagName": "brz-sb-fade-in-out",
|
|
19464
|
+
"customElement": true
|
|
19465
|
+
}
|
|
19466
|
+
],
|
|
19294
19467
|
"exports": [
|
|
19295
19468
|
{
|
|
19296
19469
|
"kind": "js",
|
|
19297
|
-
"name": "
|
|
19470
|
+
"name": "FadeInOutStory",
|
|
19298
19471
|
"declaration": {
|
|
19299
|
-
"name": "
|
|
19300
|
-
"
|
|
19472
|
+
"name": "FadeInOutStory",
|
|
19473
|
+
"module": "src/storybook/fade-in-out.stories.ts"
|
|
19474
|
+
}
|
|
19475
|
+
},
|
|
19476
|
+
{
|
|
19477
|
+
"kind": "custom-element-definition",
|
|
19478
|
+
"name": "brz-sb-fade-in-out",
|
|
19479
|
+
"declaration": {
|
|
19480
|
+
"name": "FadeInOutStory",
|
|
19481
|
+
"module": "src/storybook/fade-in-out.stories.ts"
|
|
19301
19482
|
}
|
|
19302
19483
|
}
|
|
19303
19484
|
]
|
|
@@ -19439,187 +19620,6 @@
|
|
|
19439
19620
|
}
|
|
19440
19621
|
]
|
|
19441
19622
|
},
|
|
19442
|
-
{
|
|
19443
|
-
"kind": "javascript-module",
|
|
19444
|
-
"path": "src/storybook/colors.stories.ts",
|
|
19445
|
-
"declarations": [
|
|
19446
|
-
{
|
|
19447
|
-
"kind": "class",
|
|
19448
|
-
"description": "Story component to render a colour swatch.\nWill extract the hex code from a supplied color var and use it as the background.",
|
|
19449
|
-
"name": "ColorSwatch",
|
|
19450
|
-
"members": [
|
|
19451
|
-
{
|
|
19452
|
-
"kind": "field",
|
|
19453
|
-
"name": "colorVar",
|
|
19454
|
-
"type": {
|
|
19455
|
-
"text": "string"
|
|
19456
|
-
},
|
|
19457
|
-
"default": "''",
|
|
19458
|
-
"attribute": "colorVar"
|
|
19459
|
-
},
|
|
19460
|
-
{
|
|
19461
|
-
"kind": "field",
|
|
19462
|
-
"name": "lightText",
|
|
19463
|
-
"type": {
|
|
19464
|
-
"text": "boolean"
|
|
19465
|
-
},
|
|
19466
|
-
"default": "false",
|
|
19467
|
-
"attribute": "light-text"
|
|
19468
|
-
}
|
|
19469
|
-
],
|
|
19470
|
-
"attributes": [
|
|
19471
|
-
{
|
|
19472
|
-
"name": "colorVar",
|
|
19473
|
-
"type": {
|
|
19474
|
-
"text": "string"
|
|
19475
|
-
},
|
|
19476
|
-
"default": "''",
|
|
19477
|
-
"fieldName": "colorVar"
|
|
19478
|
-
},
|
|
19479
|
-
{
|
|
19480
|
-
"name": "light-text",
|
|
19481
|
-
"type": {
|
|
19482
|
-
"text": "boolean"
|
|
19483
|
-
},
|
|
19484
|
-
"default": "false",
|
|
19485
|
-
"fieldName": "lightText"
|
|
19486
|
-
}
|
|
19487
|
-
],
|
|
19488
|
-
"superclass": {
|
|
19489
|
-
"name": "LitElement",
|
|
19490
|
-
"package": "lit"
|
|
19491
|
-
},
|
|
19492
|
-
"tagName": "brz-sb-color-swatch",
|
|
19493
|
-
"customElement": true
|
|
19494
|
-
},
|
|
19495
|
-
{
|
|
19496
|
-
"kind": "class",
|
|
19497
|
-
"description": "Story component for laying out a group of swatches",
|
|
19498
|
-
"name": "ColorSwatchGroup",
|
|
19499
|
-
"members": [
|
|
19500
|
-
{
|
|
19501
|
-
"kind": "field",
|
|
19502
|
-
"name": "stacked",
|
|
19503
|
-
"type": {
|
|
19504
|
-
"text": "boolean"
|
|
19505
|
-
},
|
|
19506
|
-
"default": "false",
|
|
19507
|
-
"attribute": "stacked"
|
|
19508
|
-
}
|
|
19509
|
-
],
|
|
19510
|
-
"attributes": [
|
|
19511
|
-
{
|
|
19512
|
-
"name": "stacked",
|
|
19513
|
-
"type": {
|
|
19514
|
-
"text": "boolean"
|
|
19515
|
-
},
|
|
19516
|
-
"default": "false",
|
|
19517
|
-
"fieldName": "stacked"
|
|
19518
|
-
}
|
|
19519
|
-
],
|
|
19520
|
-
"superclass": {
|
|
19521
|
-
"name": "LitElement",
|
|
19522
|
-
"package": "lit"
|
|
19523
|
-
},
|
|
19524
|
-
"tagName": "brz-sb-color-swatch-group",
|
|
19525
|
-
"customElement": true
|
|
19526
|
-
}
|
|
19527
|
-
],
|
|
19528
|
-
"exports": [
|
|
19529
|
-
{
|
|
19530
|
-
"kind": "js",
|
|
19531
|
-
"name": "ColorSwatch",
|
|
19532
|
-
"declaration": {
|
|
19533
|
-
"name": "ColorSwatch",
|
|
19534
|
-
"module": "src/storybook/colors.stories.ts"
|
|
19535
|
-
}
|
|
19536
|
-
},
|
|
19537
|
-
{
|
|
19538
|
-
"kind": "custom-element-definition",
|
|
19539
|
-
"name": "brz-sb-color-swatch",
|
|
19540
|
-
"declaration": {
|
|
19541
|
-
"name": "ColorSwatch",
|
|
19542
|
-
"module": "src/storybook/colors.stories.ts"
|
|
19543
|
-
}
|
|
19544
|
-
},
|
|
19545
|
-
{
|
|
19546
|
-
"kind": "js",
|
|
19547
|
-
"name": "ColorSwatchGroup",
|
|
19548
|
-
"declaration": {
|
|
19549
|
-
"name": "ColorSwatchGroup",
|
|
19550
|
-
"module": "src/storybook/colors.stories.ts"
|
|
19551
|
-
}
|
|
19552
|
-
},
|
|
19553
|
-
{
|
|
19554
|
-
"kind": "custom-element-definition",
|
|
19555
|
-
"name": "brz-sb-color-swatch-group",
|
|
19556
|
-
"declaration": {
|
|
19557
|
-
"name": "ColorSwatchGroup",
|
|
19558
|
-
"module": "src/storybook/colors.stories.ts"
|
|
19559
|
-
}
|
|
19560
|
-
}
|
|
19561
|
-
]
|
|
19562
|
-
},
|
|
19563
|
-
{
|
|
19564
|
-
"kind": "javascript-module",
|
|
19565
|
-
"path": "src/storybook/fade-in-out.stories.ts",
|
|
19566
|
-
"declarations": [
|
|
19567
|
-
{
|
|
19568
|
-
"kind": "class",
|
|
19569
|
-
"description": "",
|
|
19570
|
-
"name": "FadeInOutStory",
|
|
19571
|
-
"members": [
|
|
19572
|
-
{
|
|
19573
|
-
"kind": "field",
|
|
19574
|
-
"name": "shown",
|
|
19575
|
-
"type": {
|
|
19576
|
-
"text": "boolean"
|
|
19577
|
-
},
|
|
19578
|
-
"default": "false",
|
|
19579
|
-
"attribute": "shown"
|
|
19580
|
-
},
|
|
19581
|
-
{
|
|
19582
|
-
"kind": "method",
|
|
19583
|
-
"name": "handleToggle"
|
|
19584
|
-
}
|
|
19585
|
-
],
|
|
19586
|
-
"attributes": [
|
|
19587
|
-
{
|
|
19588
|
-
"name": "shown",
|
|
19589
|
-
"type": {
|
|
19590
|
-
"text": "boolean"
|
|
19591
|
-
},
|
|
19592
|
-
"default": "false",
|
|
19593
|
-
"fieldName": "shown"
|
|
19594
|
-
}
|
|
19595
|
-
],
|
|
19596
|
-
"superclass": {
|
|
19597
|
-
"name": "LitElement",
|
|
19598
|
-
"package": "lit"
|
|
19599
|
-
},
|
|
19600
|
-
"tagName": "brz-sb-fade-in-out",
|
|
19601
|
-
"customElement": true
|
|
19602
|
-
}
|
|
19603
|
-
],
|
|
19604
|
-
"exports": [
|
|
19605
|
-
{
|
|
19606
|
-
"kind": "js",
|
|
19607
|
-
"name": "FadeInOutStory",
|
|
19608
|
-
"declaration": {
|
|
19609
|
-
"name": "FadeInOutStory",
|
|
19610
|
-
"module": "src/storybook/fade-in-out.stories.ts"
|
|
19611
|
-
}
|
|
19612
|
-
},
|
|
19613
|
-
{
|
|
19614
|
-
"kind": "custom-element-definition",
|
|
19615
|
-
"name": "brz-sb-fade-in-out",
|
|
19616
|
-
"declaration": {
|
|
19617
|
-
"name": "FadeInOutStory",
|
|
19618
|
-
"module": "src/storybook/fade-in-out.stories.ts"
|
|
19619
|
-
}
|
|
19620
|
-
}
|
|
19621
|
-
]
|
|
19622
|
-
},
|
|
19623
19623
|
{
|
|
19624
19624
|
"kind": "javascript-module",
|
|
19625
19625
|
"path": "src/styles/borders.ts",
|
|
@@ -28963,10 +28963,6 @@
|
|
|
28963
28963
|
{
|
|
28964
28964
|
"description": "Apply custom styles to the value button in read-mode",
|
|
28965
28965
|
"name": "read-mode-value-button"
|
|
28966
|
-
},
|
|
28967
|
-
{
|
|
28968
|
-
"description": "Apply custom styles to the saved state Lozenge",
|
|
28969
|
-
"name": "saved-lozenge"
|
|
28970
28966
|
}
|
|
28971
28967
|
],
|
|
28972
28968
|
"slots": [
|
|
@@ -29016,6 +29012,20 @@
|
|
|
29016
29012
|
"privacy": "private",
|
|
29017
29013
|
"description": "To avoid repetition, we extract the values of common properties from the\nwrapped Breeze Input and store them in state."
|
|
29018
29014
|
},
|
|
29015
|
+
{
|
|
29016
|
+
"kind": "method",
|
|
29017
|
+
"name": "setOptionsFromChildren",
|
|
29018
|
+
"privacy": "private",
|
|
29019
|
+
"parameters": [
|
|
29020
|
+
{
|
|
29021
|
+
"name": "element",
|
|
29022
|
+
"type": {
|
|
29023
|
+
"text": "InputEl"
|
|
29024
|
+
}
|
|
29025
|
+
}
|
|
29026
|
+
],
|
|
29027
|
+
"description": "Sets the options state from the children of supporting input elements."
|
|
29028
|
+
},
|
|
29019
29029
|
{
|
|
29020
29030
|
"kind": "method",
|
|
29021
29031
|
"name": "handleValueClick",
|
|
@@ -29028,6 +29038,35 @@
|
|
|
29028
29038
|
"privacy": "private",
|
|
29029
29039
|
"description": "Handles cases where a RecordField is used to wrap inputs that are usually\nself-labelling, such as InputCheckbox. To avoid wonky layouts we grab the\nlabel from its default slot then slot it into the RecordField's label slot."
|
|
29030
29040
|
},
|
|
29041
|
+
{
|
|
29042
|
+
"kind": "method",
|
|
29043
|
+
"name": "getSelectValueTemplate",
|
|
29044
|
+
"privacy": "private",
|
|
29045
|
+
"parameters": [
|
|
29046
|
+
{
|
|
29047
|
+
"name": "value",
|
|
29048
|
+
"optional": true,
|
|
29049
|
+
"type": {
|
|
29050
|
+
"text": "ValueType | string"
|
|
29051
|
+
}
|
|
29052
|
+
}
|
|
29053
|
+
],
|
|
29054
|
+
"description": "Renders a Select/Multiselect value into a Lozenge"
|
|
29055
|
+
},
|
|
29056
|
+
{
|
|
29057
|
+
"kind": "method",
|
|
29058
|
+
"name": "getCheckboxValueTemplate",
|
|
29059
|
+
"privacy": "private",
|
|
29060
|
+
"parameters": [
|
|
29061
|
+
{
|
|
29062
|
+
"name": "checkbox",
|
|
29063
|
+
"type": {
|
|
29064
|
+
"text": "InputCheckbox"
|
|
29065
|
+
}
|
|
29066
|
+
}
|
|
29067
|
+
],
|
|
29068
|
+
"description": "Renders a Checkbox value into a Lozenge"
|
|
29069
|
+
},
|
|
29031
29070
|
{
|
|
29032
29071
|
"kind": "method",
|
|
29033
29072
|
"name": "handleSave",
|
|
@@ -29058,6 +29097,7 @@
|
|
|
29058
29097
|
"default": "false",
|
|
29059
29098
|
"description": "When a field or group is locked it cannot enter edit mode.",
|
|
29060
29099
|
"attribute": "locked",
|
|
29100
|
+
"reflects": true,
|
|
29061
29101
|
"inheritedFrom": {
|
|
29062
29102
|
"name": "InlineEditBase",
|
|
29063
29103
|
"module": "src/components/inline-edit/inline-edit.base.ts"
|
|
@@ -29302,6 +29342,7 @@
|
|
|
29302
29342
|
"default": "false",
|
|
29303
29343
|
"description": "When a field or group is locked it cannot enter edit mode.",
|
|
29304
29344
|
"attribute": "locked",
|
|
29345
|
+
"reflects": true,
|
|
29305
29346
|
"inheritedFrom": {
|
|
29306
29347
|
"name": "InlineEditBase",
|
|
29307
29348
|
"module": "src/components/inline-edit/inline-edit.base.ts"
|
|
@@ -29476,7 +29517,8 @@
|
|
|
29476
29517
|
},
|
|
29477
29518
|
"default": "false",
|
|
29478
29519
|
"description": "When a field or group is locked it cannot enter edit mode.",
|
|
29479
|
-
"attribute": "locked"
|
|
29520
|
+
"attribute": "locked",
|
|
29521
|
+
"reflects": true
|
|
29480
29522
|
},
|
|
29481
29523
|
{
|
|
29482
29524
|
"kind": "field",
|
|
@@ -29749,12 +29791,12 @@
|
|
|
29749
29791
|
{
|
|
29750
29792
|
"kind": "variable",
|
|
29751
29793
|
"name": "inlineEditFieldStyles",
|
|
29752
|
-
"default": "css`\n :host {\n display:
|
|
29794
|
+
"default": "css`\n :host {\n display: block;\n }\n\n :host(:nth-of-type(n + 2)) {\n margin-top: var(--brz-spacing-4);\n }\n\n .button {\n --brz-button-color: var(--brz-color-neutral-850);\n --brz-button-icon-color: var(--brz-color-neutral-600);\n --brz-button-font-weight: var(--brz-font-weight-normal);\n }\n\n .button.offset {\n margin-left: calc(0px - var(--brz-spacing-2));\n margin-top: calc(0px - var(--brz-spacing-1));\n }\n\n :host(:not([locked])) .button {\n width: 100%;\n }\n\n .button[disabled]::part(button) {\n --brz-button-color: inherit !important;\n }\n\n .button::part(button) {\n height: auto;\n min-height: var(--brz-button-height);\n width: 100%;\n }\n\n .button:hover:not([disabled])::part(button) {\n --brz-button-background-color: var(--brz-color-neutral-250);\n }\n\n .button::part(contents) {\n justify-content: space-between;\n width: 100%;\n }\n\n .button::part(icon-right) {\n display: none;\n }\n\n .button:hover::part(button) {\n transition: background-color 100ms ease-in-out;\n }\n\n .button:hover::part(icon-right),\n .button:focus::part(icon-right) {\n display: block;\n }\n\n .button.overflowing:hover::part(icon-right),\n .button.overflowing:focus::part(icon-right) {\n align-self: flex-start;\n margin-top: var(--brz-spacing-2);\n }\n\n .edit-mode {\n display: inline-block;\n }\n\n .edit-mode.block {\n display: block;\n }\n\n .value {\n max-width: calc(100% - var(--brz-spacing-5));\n text-align: left;\n }\n\n .value.overflowing {\n padding: calc(var(--brz-spacing-2) - var(--brz-spacing-px)) 0;\n }\n\n :host([locked]) .button:not(:hover) .value {\n padding-right: var(--brz-spacing-5);\n }\n\n .value.truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n brz-inline-edit-controls {\n display: block;\n margin-top: var(--brz-spacing-2);\n }\n`"
|
|
29753
29795
|
},
|
|
29754
29796
|
{
|
|
29755
29797
|
"kind": "variable",
|
|
29756
29798
|
"name": "inlineEditGroupStyles",
|
|
29757
|
-
"default": "css`\n .inline-edit-group {\n margin: 0;\n }\n\n brz-inline-edit-controls {\n display: block;\n margin-top: var(--brz-spacing-4);\n }\n`"
|
|
29799
|
+
"default": "css`\n .inline-edit-group {\n display: inline-block;\n margin: 0;\n }\n\n brz-inline-edit-controls {\n display: block;\n margin-top: var(--brz-spacing-4);\n }\n`"
|
|
29758
29800
|
}
|
|
29759
29801
|
],
|
|
29760
29802
|
"exports": [
|
|
@@ -31334,7 +31376,7 @@
|
|
|
31334
31376
|
{
|
|
31335
31377
|
"kind": "variable",
|
|
31336
31378
|
"name": "recordFieldStyles",
|
|
31337
|
-
"default": "css`\n :host {\n display: block;\n }\n\n :host(:nth-of-type(n + 2)) {\n margin-top: var(--brz-spacing-4);\n }\n\n :host([label-position='top']) .container {\n flex-direction: column;\n }\n\n :host([label-position='top']) .label {\n margin-bottom: var(--brz-spacing-1);\n }\n\n :host([label-position='side']) .label {\n align-items: flex-start;\n }\n\n ::slotted([slot='label']) {\n font-weight: var(--brz-font-weight-medium);\n }\n\n :host([label-position='side']) ::slotted([slot='label']) {\n align-items: center;\n display: inline-flex;\n min-height: var(--brz-spacing-9);\n width: 10.25rem;\n }\n\n :host([label-position='side']) ::slotted([slot='label'][hidden]) {\n display: block !important;\n }\n\n .label.hidden {\n display: none;\n }\n\n .label-right-row {\n margin-bottom: var(--brz-spacing-1);\n }\n\n .label-right-row:not(.size-full) {\n margin-left: 11.25rem;\n }\n\n .container {\n display: flex;\n min-height: var(--brz-spacing-9);\n }\n\n .value {\n align-items: center;\n display: flex;\n }\n\n :host([label-position='side']) .value.multiline {\n margin: var(--brz-spacing-2) 0;\n }\n\n .value ::slotted(*) {\n flex-basis: 100%;\n max-width: 100%;\n }\n\n .value ::slotted(dd) {\n margin: 0;\n }\n\n :host([label-position='side']) .value {\n min-height: var(--brz-spacing-9);\n }\n`"
|
|
31379
|
+
"default": "css`\n :host {\n display: block;\n }\n\n :host(:nth-of-type(n + 2)) {\n margin-top: var(--brz-spacing-4);\n }\n\n :host([label-position='top']) .container {\n flex-direction: column;\n }\n\n :host([label-position='top']) .label {\n margin-bottom: var(--brz-spacing-1);\n }\n\n :host([label-position='side']) .label {\n align-items: flex-start;\n }\n\n ::slotted([slot='label']) {\n font-weight: var(--brz-font-weight-medium);\n }\n\n :host([label-position='side']) ::slotted([slot='label']) {\n align-items: center;\n display: inline-flex;\n min-height: var(--brz-spacing-9);\n width: 10.25rem;\n }\n\n :host([label-position='side']) ::slotted([slot='label'][hidden]) {\n display: block !important;\n }\n\n .label.hidden {\n display: none;\n }\n\n .label-right-row {\n margin-bottom: var(--brz-spacing-1);\n }\n\n .label-right-row:not(.size-full) {\n margin-left: 11.25rem;\n }\n\n .container {\n display: flex;\n min-height: var(--brz-spacing-9);\n }\n\n .value {\n align-items: center;\n display: flex;\n }\n\n :host([label-position='side']) .value.multiline {\n margin: var(--brz-spacing-2) 0;\n }\n\n .value ::slotted(*) {\n flex-basis: 100%;\n max-width: 100%;\n }\n\n .value ::slotted(dd) {\n margin: 0;\n }\n\n :host([label-position='side']) .value {\n min-height: var(--brz-spacing-9);\n }\n\n :host([label-position='side']) .value.size-auto {\n flex-grow: 1;\n }\n`"
|
|
31338
31380
|
},
|
|
31339
31381
|
{
|
|
31340
31382
|
"kind": "variable",
|