csstype-extra 0.1.22 → 0.1.24

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts +91 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "csstype-extra",
3
3
  "type": "module",
4
- "version": "0.1.22",
4
+ "version": "0.1.24",
5
5
  "description": "Strict TypeScript types for style based on MDN data",
6
6
  "repository": "https://github.com/dev-five-git/csstypes",
7
7
  "author": "devfive",
package/src/index.d.ts CHANGED
@@ -23,6 +23,7 @@ export interface StandardLonghandProperties {
23
23
  animationRangeStart?: Property.AnimationRangeStart | undefined
24
24
  animationTimeline?: Property.AnimationTimeline | undefined
25
25
  animationTimingFunction?: Property.AnimationTimingFunction | undefined
26
+ animationTrigger?: Property.AnimationTrigger | undefined
26
27
  appearance?: Property.Appearance | undefined
27
28
  aspectRatio?: Property.AspectRatio | undefined
28
29
  backdropFilter?: Property.BackdropFilter | undefined
@@ -447,6 +448,20 @@ export interface StandardLonghandProperties {
447
448
  textWrapMode?: Property.TextWrapMode | undefined
448
449
  textWrapStyle?: Property.TextWrapStyle | undefined
449
450
  timelineScope?: Property.TimelineScope | undefined
451
+ timelineTriggerActivationRangeEnd?:
452
+ | Property.TimelineTriggerActivationRangeEnd
453
+ | undefined
454
+ timelineTriggerActivationRangeStart?:
455
+ | Property.TimelineTriggerActivationRangeStart
456
+ | undefined
457
+ timelineTriggerActiveRangeEnd?:
458
+ | Property.TimelineTriggerActiveRangeEnd
459
+ | undefined
460
+ timelineTriggerActiveRangeStart?:
461
+ | Property.TimelineTriggerActiveRangeStart
462
+ | undefined
463
+ timelineTriggerName?: Property.TimelineTriggerName | undefined
464
+ timelineTriggerSource?: Property.TimelineTriggerSource | undefined
450
465
  top?: Property.Top | undefined
451
466
  touchAction?: Property.TouchAction | undefined
452
467
  transform?: Property.Transform | undefined
@@ -459,6 +474,7 @@ export interface StandardLonghandProperties {
459
474
  transitionProperty?: Property.TransitionProperty | undefined
460
475
  transitionTimingFunction?: Property.TransitionTimingFunction | undefined
461
476
  translate?: Property.Translate | undefined
477
+ triggerScope?: Property.TriggerScope | undefined
462
478
  unicodeBidi?: Property.UnicodeBidi | undefined
463
479
  userSelect?: Property.UserSelect | undefined
464
480
  vectorEffect?: Property.VectorEffect | undefined
@@ -559,6 +575,11 @@ export interface StandardShorthandProperties {
559
575
  textDecoration?: Property.TextDecoration | undefined
560
576
  textEmphasis?: Property.TextEmphasis | undefined
561
577
  textWrap?: Property.TextWrap | undefined
578
+ timelineTrigger?: Property.TimelineTrigger | undefined
579
+ timelineTriggerActivationRange?:
580
+ | Property.TimelineTriggerActivationRange
581
+ | undefined
582
+ timelineTriggerActiveRange?: Property.TimelineTriggerActiveRange | undefined
562
583
  transition?: Property.Transition | undefined
563
584
  viewTimeline?: Property.ViewTimeline | undefined
564
585
  }
@@ -949,6 +970,11 @@ export namespace Property {
949
970
  | TEasingFunction
950
971
  | Globals
951
972
  | (string & {})
973
+ export type AnimationTrigger =
974
+ | 'none'
975
+ | TAnimationAction
976
+ | Globals
977
+ | (string & {})
952
978
  export type Appearance =
953
979
  | 'none'
954
980
  | 'auto'
@@ -2546,6 +2572,41 @@ export namespace Property {
2546
2572
  | Globals
2547
2573
  | (string & {})
2548
2574
  export type TimelineScope = 'none' | Globals | (string & {})
2575
+ export type TimelineTriggerActivationRangeEnd =
2576
+ | 'normal'
2577
+ | TLengthPercentage
2578
+ | TTimelineRangeName
2579
+ | TLengthPercentage
2580
+ | Globals
2581
+ | (string & {})
2582
+ export type TimelineTriggerActivationRangeStart =
2583
+ | 'normal'
2584
+ | TLengthPercentage
2585
+ | TTimelineRangeName
2586
+ | TLengthPercentage
2587
+ | Globals
2588
+ | (string & {})
2589
+ export type TimelineTriggerActiveRangeEnd =
2590
+ | 'auto'
2591
+ | 'normal'
2592
+ | TLengthPercentage
2593
+ | TTimelineRangeName
2594
+ | TLengthPercentage
2595
+ | Globals
2596
+ | (string & {})
2597
+ export type TimelineTriggerActiveRangeStart =
2598
+ | 'auto'
2599
+ | 'normal'
2600
+ | TLengthPercentage
2601
+ | TTimelineRangeName
2602
+ | TLengthPercentage
2603
+ | Globals
2604
+ | (string & {})
2605
+ export type TimelineTriggerName = 'none' | Globals | (string & {})
2606
+ export type TimelineTriggerSource =
2607
+ | TSingleAnimationTimeline
2608
+ | Globals
2609
+ | (string & {})
2549
2610
  export type Top = 'auto' | TLengthPercentage | Globals | (string & {})
2550
2611
  export type TouchAction =
2551
2612
  | 'auto'
@@ -2610,6 +2671,7 @@ export namespace Property {
2610
2671
  | number
2611
2672
  | Globals
2612
2673
  | (string & {})
2674
+ export type TriggerScope = 'none' | 'all' | Globals | (string & {})
2613
2675
  export type UnicodeBidi =
2614
2676
  | 'normal'
2615
2677
  | 'embed'
@@ -3020,6 +3082,25 @@ export namespace Property {
3020
3082
  | Property.TextWrapStyle
3021
3083
  | Globals
3022
3084
  | (string & {})
3085
+ export type TimelineTrigger =
3086
+ | 'none'
3087
+ | Property.TimelineTriggerName
3088
+ | Property.TimelineTriggerSource
3089
+ | Property.TimelineTriggerActivationRange
3090
+ | "'/'"
3091
+ | Property.TimelineTriggerActiveRange
3092
+ | Globals
3093
+ | (string & {})
3094
+ export type TimelineTriggerActivationRange =
3095
+ | Property.TimelineTriggerActivationRangeStart
3096
+ | Property.TimelineTriggerActivationRangeEnd
3097
+ | Globals
3098
+ | (string & {})
3099
+ export type TimelineTriggerActiveRange =
3100
+ | Property.TimelineTriggerActiveRangeStart
3101
+ | Property.TimelineTriggerActiveRangeEnd
3102
+ | Globals
3103
+ | (string & {})
3023
3104
  export type Transition = TSingleTransition | Globals | (string & {})
3024
3105
  export type ViewTimeline =
3025
3106
  | Property.ViewTimelineName
@@ -3566,6 +3647,16 @@ export type TAngularColorStopList =
3566
3647
  | TAngularColorStop
3567
3648
  | Globals
3568
3649
  export type TAnimateableFeature = 'scroll-position' | 'contents' | Globals
3650
+ export type TAnimationAction =
3651
+ | 'none'
3652
+ | 'play'
3653
+ | 'play-once'
3654
+ | 'play-forwards'
3655
+ | 'play-backwards'
3656
+ | 'pause'
3657
+ | 'reset'
3658
+ | 'replay'
3659
+ | Globals
3569
3660
  export type TAttachment = 'scroll' | 'fixed' | 'local' | Globals
3570
3661
  export type TAttrMatcher =
3571
3662
  | "'~'"