@ni/ok-components 1.9.0 → 1.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.
@@ -20,12 +20,6 @@
20
20
  "declarations": [],
21
21
  "exports": []
22
22
  },
23
- {
24
- "kind": "javascript-module",
25
- "path": "src/ts/all-ts.ts",
26
- "declarations": [],
27
- "exports": []
28
- },
29
23
  {
30
24
  "kind": "javascript-module",
31
25
  "path": "src/ex/button/index.ts",
@@ -67,6 +61,12 @@
67
61
  }
68
62
  ]
69
63
  },
64
+ {
65
+ "kind": "javascript-module",
66
+ "path": "src/ts/all-ts.ts",
67
+ "declarations": [],
68
+ "exports": []
69
+ },
70
70
  {
71
71
  "kind": "javascript-module",
72
72
  "path": "src/fv/accordion-item/index.ts",
@@ -185,6 +185,206 @@
185
185
  }
186
186
  ]
187
187
  },
188
+ {
189
+ "kind": "javascript-module",
190
+ "path": "src/fv/card/index.ts",
191
+ "declarations": [
192
+ {
193
+ "kind": "class",
194
+ "description": "An opinionated card component for FV layouts with optional media,\nbadges, footer metadata, and action content.",
195
+ "name": "FvCard",
196
+ "members": [
197
+ {
198
+ "kind": "field",
199
+ "name": "title",
200
+ "type": {
201
+ "text": "string"
202
+ },
203
+ "privacy": "public",
204
+ "default": "''"
205
+ },
206
+ {
207
+ "kind": "field",
208
+ "name": "subtitle",
209
+ "type": {
210
+ "text": "string"
211
+ },
212
+ "privacy": "public",
213
+ "default": "''"
214
+ },
215
+ {
216
+ "kind": "field",
217
+ "name": "description",
218
+ "type": {
219
+ "text": "string"
220
+ },
221
+ "privacy": "public",
222
+ "default": "''"
223
+ },
224
+ {
225
+ "kind": "field",
226
+ "name": "appearance",
227
+ "type": {
228
+ "text": "FvCardAppearanceType"
229
+ },
230
+ "privacy": "public"
231
+ },
232
+ {
233
+ "kind": "field",
234
+ "name": "interactionMode",
235
+ "type": {
236
+ "text": "FvCardInteractionModeType"
237
+ },
238
+ "privacy": "public"
239
+ },
240
+ {
241
+ "kind": "field",
242
+ "name": "disabled",
243
+ "type": {
244
+ "text": "boolean"
245
+ },
246
+ "privacy": "public",
247
+ "default": "false"
248
+ },
249
+ {
250
+ "kind": "field",
251
+ "name": "initials",
252
+ "type": {
253
+ "text": "string"
254
+ },
255
+ "privacy": "public",
256
+ "default": "''"
257
+ }
258
+ ],
259
+ "attributes": [
260
+ {
261
+ "name": "card-title",
262
+ "type": {
263
+ "text": "string"
264
+ },
265
+ "default": "''",
266
+ "fieldName": "title"
267
+ },
268
+ {
269
+ "name": "subtitle",
270
+ "type": {
271
+ "text": "string"
272
+ },
273
+ "default": "''",
274
+ "fieldName": "subtitle"
275
+ },
276
+ {
277
+ "name": "description",
278
+ "type": {
279
+ "text": "string"
280
+ },
281
+ "default": "''",
282
+ "fieldName": "description"
283
+ },
284
+ {
285
+ "name": "appearance",
286
+ "type": {
287
+ "text": "FvCardAppearanceType"
288
+ },
289
+ "fieldName": "appearance"
290
+ },
291
+ {
292
+ "name": "interaction-mode",
293
+ "type": {
294
+ "text": "FvCardInteractionModeType"
295
+ },
296
+ "fieldName": "interactionMode"
297
+ },
298
+ {
299
+ "name": "disabled",
300
+ "type": {
301
+ "text": "boolean"
302
+ },
303
+ "default": "false",
304
+ "fieldName": "disabled"
305
+ },
306
+ {
307
+ "name": "initials",
308
+ "type": {
309
+ "text": "string"
310
+ },
311
+ "default": "''",
312
+ "fieldName": "initials"
313
+ }
314
+ ],
315
+ "superclass": {
316
+ "name": "FoundationElement",
317
+ "package": "@ni/fast-foundation"
318
+ }
319
+ },
320
+ {
321
+ "kind": "variable",
322
+ "name": "fvCardTag",
323
+ "type": {
324
+ "text": "string"
325
+ },
326
+ "default": "'ok-fv-card'"
327
+ }
328
+ ],
329
+ "exports": [
330
+ {
331
+ "kind": "js",
332
+ "name": "FvCard",
333
+ "declaration": {
334
+ "name": "FvCard",
335
+ "module": "src/fv/card/index.ts"
336
+ }
337
+ },
338
+ {
339
+ "kind": "js",
340
+ "name": "fvCardTag",
341
+ "declaration": {
342
+ "name": "fvCardTag",
343
+ "module": "src/fv/card/index.ts"
344
+ }
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "kind": "javascript-module",
350
+ "path": "src/fv/card/types.ts",
351
+ "declarations": [
352
+ {
353
+ "kind": "variable",
354
+ "name": "FvCardAppearance",
355
+ "type": {
356
+ "text": "{\n outline: 'outline',\n block: 'block'\n}"
357
+ },
358
+ "default": "{ outline: 'outline', block: 'block' }"
359
+ },
360
+ {
361
+ "kind": "variable",
362
+ "name": "FvCardInteractionMode",
363
+ "type": {
364
+ "text": "{\n static: 'static',\n card: 'card'\n}"
365
+ },
366
+ "default": "{ static: 'static', card: 'card' }"
367
+ }
368
+ ],
369
+ "exports": [
370
+ {
371
+ "kind": "js",
372
+ "name": "FvCardAppearance",
373
+ "declaration": {
374
+ "name": "FvCardAppearance",
375
+ "module": "src/fv/card/types.ts"
376
+ }
377
+ },
378
+ {
379
+ "kind": "js",
380
+ "name": "FvCardInteractionMode",
381
+ "declaration": {
382
+ "name": "FvCardInteractionMode",
383
+ "module": "src/fv/card/types.ts"
384
+ }
385
+ }
386
+ ]
387
+ },
188
388
  {
189
389
  "kind": "javascript-module",
190
390
  "path": "src/fv/chip-selector/index.ts",
@@ -483,206 +683,6 @@
483
683
  }
484
684
  ]
485
685
  },
486
- {
487
- "kind": "javascript-module",
488
- "path": "src/fv/card/index.ts",
489
- "declarations": [
490
- {
491
- "kind": "class",
492
- "description": "An opinionated card component for FV layouts with optional media,\nbadges, footer metadata, and action content.",
493
- "name": "FvCard",
494
- "members": [
495
- {
496
- "kind": "field",
497
- "name": "title",
498
- "type": {
499
- "text": "string"
500
- },
501
- "privacy": "public",
502
- "default": "''"
503
- },
504
- {
505
- "kind": "field",
506
- "name": "subtitle",
507
- "type": {
508
- "text": "string"
509
- },
510
- "privacy": "public",
511
- "default": "''"
512
- },
513
- {
514
- "kind": "field",
515
- "name": "description",
516
- "type": {
517
- "text": "string"
518
- },
519
- "privacy": "public",
520
- "default": "''"
521
- },
522
- {
523
- "kind": "field",
524
- "name": "appearance",
525
- "type": {
526
- "text": "FvCardAppearanceType"
527
- },
528
- "privacy": "public"
529
- },
530
- {
531
- "kind": "field",
532
- "name": "interactionMode",
533
- "type": {
534
- "text": "FvCardInteractionModeType"
535
- },
536
- "privacy": "public"
537
- },
538
- {
539
- "kind": "field",
540
- "name": "disabled",
541
- "type": {
542
- "text": "boolean"
543
- },
544
- "privacy": "public",
545
- "default": "false"
546
- },
547
- {
548
- "kind": "field",
549
- "name": "initials",
550
- "type": {
551
- "text": "string"
552
- },
553
- "privacy": "public",
554
- "default": "''"
555
- }
556
- ],
557
- "attributes": [
558
- {
559
- "name": "card-title",
560
- "type": {
561
- "text": "string"
562
- },
563
- "default": "''",
564
- "fieldName": "title"
565
- },
566
- {
567
- "name": "subtitle",
568
- "type": {
569
- "text": "string"
570
- },
571
- "default": "''",
572
- "fieldName": "subtitle"
573
- },
574
- {
575
- "name": "description",
576
- "type": {
577
- "text": "string"
578
- },
579
- "default": "''",
580
- "fieldName": "description"
581
- },
582
- {
583
- "name": "appearance",
584
- "type": {
585
- "text": "FvCardAppearanceType"
586
- },
587
- "fieldName": "appearance"
588
- },
589
- {
590
- "name": "interaction-mode",
591
- "type": {
592
- "text": "FvCardInteractionModeType"
593
- },
594
- "fieldName": "interactionMode"
595
- },
596
- {
597
- "name": "disabled",
598
- "type": {
599
- "text": "boolean"
600
- },
601
- "default": "false",
602
- "fieldName": "disabled"
603
- },
604
- {
605
- "name": "initials",
606
- "type": {
607
- "text": "string"
608
- },
609
- "default": "''",
610
- "fieldName": "initials"
611
- }
612
- ],
613
- "superclass": {
614
- "name": "FoundationElement",
615
- "package": "@ni/fast-foundation"
616
- }
617
- },
618
- {
619
- "kind": "variable",
620
- "name": "fvCardTag",
621
- "type": {
622
- "text": "string"
623
- },
624
- "default": "'ok-fv-card'"
625
- }
626
- ],
627
- "exports": [
628
- {
629
- "kind": "js",
630
- "name": "FvCard",
631
- "declaration": {
632
- "name": "FvCard",
633
- "module": "src/fv/card/index.ts"
634
- }
635
- },
636
- {
637
- "kind": "js",
638
- "name": "fvCardTag",
639
- "declaration": {
640
- "name": "fvCardTag",
641
- "module": "src/fv/card/index.ts"
642
- }
643
- }
644
- ]
645
- },
646
- {
647
- "kind": "javascript-module",
648
- "path": "src/fv/card/types.ts",
649
- "declarations": [
650
- {
651
- "kind": "variable",
652
- "name": "FvCardAppearance",
653
- "type": {
654
- "text": "{\n outline: 'outline',\n block: 'block'\n}"
655
- },
656
- "default": "{ outline: 'outline', block: 'block' }"
657
- },
658
- {
659
- "kind": "variable",
660
- "name": "FvCardInteractionMode",
661
- "type": {
662
- "text": "{\n static: 'static',\n card: 'card'\n}"
663
- },
664
- "default": "{ static: 'static', card: 'card' }"
665
- }
666
- ],
667
- "exports": [
668
- {
669
- "kind": "js",
670
- "name": "FvCardAppearance",
671
- "declaration": {
672
- "name": "FvCardAppearance",
673
- "module": "src/fv/card/types.ts"
674
- }
675
- },
676
- {
677
- "kind": "js",
678
- "name": "FvCardInteractionMode",
679
- "declaration": {
680
- "name": "FvCardInteractionMode",
681
- "module": "src/fv/card/types.ts"
682
- }
683
- }
684
- ]
685
- },
686
686
  {
687
687
  "kind": "javascript-module",
688
688
  "path": "src/fv/context-help/index.ts",
@@ -34,6 +34,40 @@
34
34
 
35
35
  <hr/>
36
36
 
37
+ ## class: `FvCard`
38
+
39
+ ### Superclass
40
+
41
+ | Name | Module | Package |
42
+ | ------------------- | ------ | ------------------- |
43
+ | `FoundationElement` | | @ni/fast-foundation |
44
+
45
+ ### Fields
46
+
47
+ | Name | Privacy | Type | Default | Description | Inherited From |
48
+ | ----------------- | ------- | --------------------------- | ------- | ----------- | -------------- |
49
+ | `title` | public | `string` | `''` | | |
50
+ | `subtitle` | public | `string` | `''` | | |
51
+ | `description` | public | `string` | `''` | | |
52
+ | `appearance` | public | `FvCardAppearanceType` | | | |
53
+ | `interactionMode` | public | `FvCardInteractionModeType` | | | |
54
+ | `disabled` | public | `boolean` | `false` | | |
55
+ | `initials` | public | `string` | `''` | | |
56
+
57
+ ### Attributes
58
+
59
+ | Name | Field | Inherited From |
60
+ | ------------------ | --------------- | -------------- |
61
+ | `card-title` | title | |
62
+ | `subtitle` | subtitle | |
63
+ | `description` | description | |
64
+ | `appearance` | appearance | |
65
+ | `interaction-mode` | interactionMode | |
66
+ | `disabled` | disabled | |
67
+ | `initials` | initials | |
68
+
69
+ <hr/>
70
+
37
71
  ## class: `FvChipSelector`
38
72
 
39
73
  ### Superclass
@@ -74,40 +108,6 @@
74
108
 
75
109
  <hr/>
76
110
 
77
- ## class: `FvCard`
78
-
79
- ### Superclass
80
-
81
- | Name | Module | Package |
82
- | ------------------- | ------ | ------------------- |
83
- | `FoundationElement` | | @ni/fast-foundation |
84
-
85
- ### Fields
86
-
87
- | Name | Privacy | Type | Default | Description | Inherited From |
88
- | ----------------- | ------- | --------------------------- | ------- | ----------- | -------------- |
89
- | `title` | public | `string` | `''` | | |
90
- | `subtitle` | public | `string` | `''` | | |
91
- | `description` | public | `string` | `''` | | |
92
- | `appearance` | public | `FvCardAppearanceType` | | | |
93
- | `interactionMode` | public | `FvCardInteractionModeType` | | | |
94
- | `disabled` | public | `boolean` | `false` | | |
95
- | `initials` | public | `string` | `''` | | |
96
-
97
- ### Attributes
98
-
99
- | Name | Field | Inherited From |
100
- | ------------------ | --------------- | -------------- |
101
- | `card-title` | title | |
102
- | `subtitle` | subtitle | |
103
- | `description` | description | |
104
- | `appearance` | appearance | |
105
- | `interaction-mode` | interactionMode | |
106
- | `disabled` | disabled | |
107
- | `initials` | initials | |
108
-
109
- <hr/>
110
-
111
111
  ## class: `FvContextHelp`
112
112
 
113
113
  ### Superclass
@@ -20,10 +20,7 @@ declare const TsTableColumnBreakpoint_base: (abstract new (...args: any[]) => {
20
20
  readonly columnInternals: import("@ni/nimble-components/dist/esm/table-column/base/models/column-internals").ColumnInternals<unknown, import("@ni/nimble-components/dist/esm/table-column/base/models/column-validator").ColumnValidator<[]>>;
21
21
  }) & ((abstract new () => TableColumn<TsTableColumnBreakpointColumnConfig, ColumnValidator<[]>>) & {
22
22
  compose<T extends import("@ni/fast-foundation").FoundationElementDefinition = import("@ni/fast-foundation").FoundationElementDefinition, K extends import("@ni/fast-element").Constructable<import("@ni/fast-foundation").FoundationElement> = import("@ni/fast-element").Constructable<import("@ni/fast-foundation").FoundationElement>>(this: K, elementDefinition: T): (overrideDefinition?: import("@ni/fast-foundation").OverrideFoundationElementDefinition<T>) => import("@ni/fast-foundation").FoundationElementRegistry<T, K>;
23
- from<TBase extends {
24
- new (): HTMLElement;
25
- prototype: HTMLElement;
26
- }>(BaseType: TBase): new () => InstanceType<TBase> & import("@ni/fast-element").FASTElement;
23
+ from<TBase extends typeof HTMLElement>(BaseType: TBase): new () => InstanceType<TBase> & import("@ni/fast-element").FASTElement;
27
24
  define<TType extends Function>(type: TType, nameOrDef?: string | import("@ni/fast-element").PartialFASTElementDefinition): TType;
28
25
  });
29
26
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/ok-components",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "NI Ok Components",
5
5
  "scripts": {
6
6
  "build": "npm run build:components && npm run build:cem",
@@ -40,11 +40,11 @@
40
40
  "homepage": "https://github.com/ni/nimble#readme",
41
41
  "customElements": "dist/custom-elements.json",
42
42
  "dependencies": {
43
- "@ni/fast-element": "^10.1.2",
44
- "@ni/fast-foundation": "^10.2.5",
45
- "@ni/fast-web-utilities": "^10.0.0",
46
- "@ni/nimble-components": "^35.13.1",
47
- "@ni/spright-components": "^6.22.1",
43
+ "@ni/fast-element": "^10.2.0",
44
+ "@ni/fast-foundation": "^10.3.0",
45
+ "@ni/fast-web-utilities": "^10.1.0",
46
+ "@ni/nimble-components": "^35.13.2",
47
+ "@ni/spright-components": "^6.22.2",
48
48
  "tslib": "^2.2.0"
49
49
  },
50
50
  "devDependencies": {
@@ -52,7 +52,7 @@
52
52
  "@custom-elements-manifest/to-markdown": "^0.1.0",
53
53
  "@ni-private/eslint-config-nimble": "*",
54
54
  "@ni-private/jasmine-extensions": "^0.0.1",
55
- "@ni/jasmine-parameterized": "^1.0.11",
55
+ "@ni/jasmine-parameterized": "^1.0.12",
56
56
  "@rollup/plugin-commonjs": "^29.0.0",
57
57
  "@rollup/plugin-node-resolve": "^16.0.0",
58
58
  "@rollup/plugin-replace": "^6.0.0",
@@ -71,6 +71,6 @@
71
71
  "playwright": "1.62.0",
72
72
  "rollup": "^4.60.2",
73
73
  "rollup-plugin-sourcemaps2": "^0.5.0",
74
- "typescript": "~5.8.3"
74
+ "typescript": "~5.9.3"
75
75
  }
76
76
  }