@emuanalytics/flow-rdf-ui 4.1.8 → 4.1.10

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/index.d.mts CHANGED
@@ -5379,8 +5379,8 @@ declare class FlowUiRange extends FlowRdfFormControl {
5379
5379
  get validationMessage(): string;
5380
5380
  connectedCallback(): void;
5381
5381
  disconnectedCallback(): void;
5382
- private handleChange;
5383
- private handleInput;
5382
+ private handleRangeChange;
5383
+ private handleRangeInput;
5384
5384
  private handleNumberChange;
5385
5385
  private handleBlur;
5386
5386
  private handleFocus;
@@ -5393,7 +5393,7 @@ declare class FlowUiRange extends FlowRdfFormControl {
5393
5393
  handleDisabledChange(): void;
5394
5394
  /** @internal */
5395
5395
  syncRange(): void;
5396
- private handleInvalid;
5396
+ private handleRangeInvalid;
5397
5397
  /** Sets focus on the range. */
5398
5398
  focus(options?: FocusOptions): void;
5399
5399
  /** Removes focus from the range. */
@@ -5716,6 +5716,8 @@ declare global {
5716
5716
  */
5717
5717
  declare class FlowUiSplitViewPane extends FlowRdfElement {
5718
5718
  static styles: CSSResultGroup;
5719
+ private readonly attrId;
5720
+ private readonly componentId;
5719
5721
  private dividerComponent?;
5720
5722
  /** Set to `true` for vertically-arranged panes. */
5721
5723
  vertical: boolean;
@@ -5791,6 +5793,7 @@ declare global {
5791
5793
  * @summary Split-views contain two or more split-view panes to create resizable areas.
5792
5794
  */
5793
5795
  declare class FlowUiSplitView extends FlowRdfElement {
5796
+ private _panelLayouts;
5794
5797
  static styles: CSSResultGroup;
5795
5798
  private _panels;
5796
5799
  private dragTargetPanel?;
@@ -5854,6 +5857,9 @@ declare class FlowUiSplitView extends FlowRdfElement {
5854
5857
  private handlePanelAdded;
5855
5858
  private handlePanelRemoved;
5856
5859
  private updatePanelInfo;
5860
+ private panelLayoutsKey;
5861
+ private savePanelLayouts;
5862
+ private restorePanelLayouts;
5857
5863
  }
5858
5864
 
5859
5865
  declare global {
@@ -6270,6 +6276,10 @@ declare class FlowUiTimer extends FlowRdfElement {
6270
6276
  * The minor step size to use for the timer step controls.
6271
6277
  */
6272
6278
  minorStep: string;
6279
+ /**
6280
+ * The timer update interval.
6281
+ */
6282
+ updateInterval: string;
6273
6283
  /**
6274
6284
  * Set to `true` to hide the timezone display.
6275
6285
  */
@@ -6285,6 +6295,8 @@ declare class FlowUiTimer extends FlowRdfElement {
6285
6295
  /** @internal */
6286
6296
  updateParsedSteps(): void;
6287
6297
  /** @internal */
6298
+ updateUpdateInterval(): void;
6299
+ /** @internal */
6288
6300
  updateRunning(): void;
6289
6301
  private setDisplayDateTime;
6290
6302
  private handleDateTimeKeyDown;
@@ -6553,6 +6565,8 @@ declare class FlowUiTreeItem extends FlowRdfElement {
6553
6565
  lazy: boolean;
6554
6566
  /** The select's size. */
6555
6567
  size: 'small' | 'medium' | 'large';
6568
+ /** Set to `true` to visually hide the tree item. */
6569
+ hidden: boolean;
6556
6570
  /** @internal */
6557
6571
  defaultSlot: HTMLSlotElement;
6558
6572
  /** @internal */
package/dist/index.d.ts CHANGED
@@ -5379,8 +5379,8 @@ declare class FlowUiRange extends FlowRdfFormControl {
5379
5379
  get validationMessage(): string;
5380
5380
  connectedCallback(): void;
5381
5381
  disconnectedCallback(): void;
5382
- private handleChange;
5383
- private handleInput;
5382
+ private handleRangeChange;
5383
+ private handleRangeInput;
5384
5384
  private handleNumberChange;
5385
5385
  private handleBlur;
5386
5386
  private handleFocus;
@@ -5393,7 +5393,7 @@ declare class FlowUiRange extends FlowRdfFormControl {
5393
5393
  handleDisabledChange(): void;
5394
5394
  /** @internal */
5395
5395
  syncRange(): void;
5396
- private handleInvalid;
5396
+ private handleRangeInvalid;
5397
5397
  /** Sets focus on the range. */
5398
5398
  focus(options?: FocusOptions): void;
5399
5399
  /** Removes focus from the range. */
@@ -5716,6 +5716,8 @@ declare global {
5716
5716
  */
5717
5717
  declare class FlowUiSplitViewPane extends FlowRdfElement {
5718
5718
  static styles: CSSResultGroup;
5719
+ private readonly attrId;
5720
+ private readonly componentId;
5719
5721
  private dividerComponent?;
5720
5722
  /** Set to `true` for vertically-arranged panes. */
5721
5723
  vertical: boolean;
@@ -5791,6 +5793,7 @@ declare global {
5791
5793
  * @summary Split-views contain two or more split-view panes to create resizable areas.
5792
5794
  */
5793
5795
  declare class FlowUiSplitView extends FlowRdfElement {
5796
+ private _panelLayouts;
5794
5797
  static styles: CSSResultGroup;
5795
5798
  private _panels;
5796
5799
  private dragTargetPanel?;
@@ -5854,6 +5857,9 @@ declare class FlowUiSplitView extends FlowRdfElement {
5854
5857
  private handlePanelAdded;
5855
5858
  private handlePanelRemoved;
5856
5859
  private updatePanelInfo;
5860
+ private panelLayoutsKey;
5861
+ private savePanelLayouts;
5862
+ private restorePanelLayouts;
5857
5863
  }
5858
5864
 
5859
5865
  declare global {
@@ -6270,6 +6276,10 @@ declare class FlowUiTimer extends FlowRdfElement {
6270
6276
  * The minor step size to use for the timer step controls.
6271
6277
  */
6272
6278
  minorStep: string;
6279
+ /**
6280
+ * The timer update interval.
6281
+ */
6282
+ updateInterval: string;
6273
6283
  /**
6274
6284
  * Set to `true` to hide the timezone display.
6275
6285
  */
@@ -6285,6 +6295,8 @@ declare class FlowUiTimer extends FlowRdfElement {
6285
6295
  /** @internal */
6286
6296
  updateParsedSteps(): void;
6287
6297
  /** @internal */
6298
+ updateUpdateInterval(): void;
6299
+ /** @internal */
6288
6300
  updateRunning(): void;
6289
6301
  private setDisplayDateTime;
6290
6302
  private handleDateTimeKeyDown;
@@ -6553,6 +6565,8 @@ declare class FlowUiTreeItem extends FlowRdfElement {
6553
6565
  lazy: boolean;
6554
6566
  /** The select's size. */
6555
6567
  size: 'small' | 'medium' | 'large';
6568
+ /** Set to `true` to visually hide the tree item. */
6569
+ hidden: boolean;
6556
6570
  /** @internal */
6557
6571
  defaultSlot: HTMLSlotElement;
6558
6572
  /** @internal */
@@ -1,3 +1,3 @@
1
- const version = "4.1.8";
1
+ const version = "4.1.10";
2
2
 
3
3
  export { version };
@@ -201,79 +201,6 @@
201
201
  ],
202
202
  "references": []
203
203
  },
204
- {
205
- "name": "flow-ui-breadcrumb",
206
- "description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
207
- "attributes": [
208
- {
209
- "name": "label",
210
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
211
- "values": []
212
- }
213
- ],
214
- "references": []
215
- },
216
- {
217
- "name": "flow-ui-base-control",
218
- "description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
219
- "attributes": [
220
- {
221
- "name": "size",
222
- "description": "The input's size.",
223
- "values": [
224
- { "name": "small" },
225
- { "name": "medium" },
226
- { "name": "large" }
227
- ]
228
- },
229
- {
230
- "name": "filled",
231
- "description": "Draws a filled input.",
232
- "values": []
233
- },
234
- {
235
- "name": "pill",
236
- "description": "Draws a pill-style input with rounded edges.",
237
- "values": []
238
- },
239
- {
240
- "name": "label",
241
- "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
242
- "values": []
243
- },
244
- {
245
- "name": "help-text",
246
- "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
247
- "values": []
248
- },
249
- {
250
- "name": "disabled",
251
- "description": "Disables the input.",
252
- "values": []
253
- },
254
- {
255
- "name": "form",
256
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
257
- "values": []
258
- },
259
- {
260
- "name": "required",
261
- "description": "Makes the input a required field.",
262
- "values": []
263
- },
264
- {
265
- "name": "inline",
266
- "description": "Display the input in the 'inline' form control style.",
267
- "values": []
268
- },
269
- {
270
- "name": "divider",
271
- "description": "Indicates that the control should display a divider",
272
- "values": []
273
- }
274
- ],
275
- "references": []
276
- },
277
204
  {
278
205
  "name": "flow-ui-avatar",
279
206
  "description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
@@ -348,6 +275,79 @@
348
275
  ],
349
276
  "references": []
350
277
  },
278
+ {
279
+ "name": "flow-ui-breadcrumb",
280
+ "description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
281
+ "attributes": [
282
+ {
283
+ "name": "label",
284
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
285
+ "values": []
286
+ }
287
+ ],
288
+ "references": []
289
+ },
290
+ {
291
+ "name": "flow-ui-base-control",
292
+ "description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
293
+ "attributes": [
294
+ {
295
+ "name": "size",
296
+ "description": "The input's size.",
297
+ "values": [
298
+ { "name": "small" },
299
+ { "name": "medium" },
300
+ { "name": "large" }
301
+ ]
302
+ },
303
+ {
304
+ "name": "filled",
305
+ "description": "Draws a filled input.",
306
+ "values": []
307
+ },
308
+ {
309
+ "name": "pill",
310
+ "description": "Draws a pill-style input with rounded edges.",
311
+ "values": []
312
+ },
313
+ {
314
+ "name": "label",
315
+ "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
316
+ "values": []
317
+ },
318
+ {
319
+ "name": "help-text",
320
+ "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
321
+ "values": []
322
+ },
323
+ {
324
+ "name": "disabled",
325
+ "description": "Disables the input.",
326
+ "values": []
327
+ },
328
+ {
329
+ "name": "form",
330
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
331
+ "values": []
332
+ },
333
+ {
334
+ "name": "required",
335
+ "description": "Makes the input a required field.",
336
+ "values": []
337
+ },
338
+ {
339
+ "name": "inline",
340
+ "description": "Display the input in the 'inline' form control style.",
341
+ "values": []
342
+ },
343
+ {
344
+ "name": "divider",
345
+ "description": "Indicates that the control should display a divider",
346
+ "values": []
347
+ }
348
+ ],
349
+ "references": []
350
+ },
351
351
  {
352
352
  "name": "flow-ui-breadcrumb-item",
353
353
  "description": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
@@ -3117,6 +3117,11 @@
3117
3117
  "description": "The minor step size to use for the timer step controls.",
3118
3118
  "values": []
3119
3119
  },
3120
+ {
3121
+ "name": "update-interval",
3122
+ "description": "The timer update interval.",
3123
+ "values": []
3124
+ },
3120
3125
  {
3121
3126
  "name": "hide-zone",
3122
3127
  "description": "Set to `true` to hide the timezone display.",
@@ -3429,6 +3434,11 @@
3429
3434
  { "name": "medium" },
3430
3435
  { "name": "large" }
3431
3436
  ]
3437
+ },
3438
+ {
3439
+ "name": "hidden",
3440
+ "description": "Set to `true` to visually hide the tree item.",
3441
+ "values": []
3432
3442
  }
3433
3443
  ],
3434
3444
  "references": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "4.1.8",
3
+ "version": "4.1.10",
4
4
  "type": "module",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
package/themes/dark.css CHANGED
@@ -2,6 +2,8 @@
2
2
  .flow-ui-theme-dark {
3
3
  color-scheme: dark;
4
4
 
5
+ --ag-browser-color-scheme: dark;
6
+
5
7
  --flow-ui-color-gray-50: oklch(25.794% 0.00354 48.585);
6
8
  --flow-ui-color-gray-100: oklch(27.86% 0.00347 48.6);
7
9
  --flow-ui-color-gray-200: #2e2d2c;
@@ -5,6 +5,8 @@ export default css`
5
5
  .flow-ui-theme-dark {
6
6
  color-scheme: dark;
7
7
 
8
+ --ag-browser-color-scheme: dark;
9
+
8
10
  --flow-ui-color-gray-50: oklch(25.794% 0.00354 48.585);
9
11
  --flow-ui-color-gray-100: oklch(27.86% 0.00347 48.6);
10
12
  --flow-ui-color-gray-200: #2e2d2c;
package/themes/light.css CHANGED
@@ -3,6 +3,8 @@
3
3
  .flow-ui-theme-light {
4
4
  color-scheme: light;
5
5
 
6
+ --ag-browser-color-scheme: light;
7
+
6
8
  --flow-ui-color-gray-50: oklch(98% 0 none);
7
9
  --flow-ui-color-gray-100: oklch(96% 0 none);
8
10
  --flow-ui-color-gray-200: oklch(93.1% 0 none);
@@ -6,6 +6,8 @@ export default css`
6
6
  .flow-ui-theme-light {
7
7
  color-scheme: light;
8
8
 
9
+ --ag-browser-color-scheme: light;
10
+
9
11
  --flow-ui-color-gray-50: oklch(98% 0 none);
10
12
  --flow-ui-color-gray-100: oklch(96% 0 none);
11
13
  --flow-ui-color-gray-200: oklch(93.1% 0 none);