@ethlete/components 1.0.0-next.97 → 1.0.0-next.99

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 (26) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/design/form-field.ts +3 -0
  3. package/design/sdk/assets/fonts/noto-sans-math-latin-400-normal.woff2 +0 -0
  4. package/design/sdk/assets/fonts/noto-sans-symbols-2-symbols-400-normal.woff2 +0 -0
  5. package/design/sdk/assets/fonts/source-code-pro-latin-wght-normal.woff2 +0 -0
  6. package/design/sdk/assets/fonts/source-sans-3-latin-wght-normal.woff2 +0 -0
  7. package/design/sdk/components/anchored-dialog/anchored-dialog.ts +2 -2
  8. package/design/sdk/components/banner/banner.ts +25 -0
  9. package/design/sdk/components/calendar/calendar.ts +35 -1
  10. package/design/sdk/components/chart/chart.ts +19 -1
  11. package/design/sdk/components/dialog/dialog.ts +24 -0
  12. package/design/sdk/components/input/input.ts +26 -0
  13. package/design/sdk/components/otp-input/otp-input.ts +22 -0
  14. package/design/sdk/components/query-error/query-error.ts +22 -1
  15. package/design/sdk/components/select/shared/select-part.ts +4 -0
  16. package/design/sdk/components/slider/slider.ts +27 -1
  17. package/design/sdk/components/textarea/textarea.ts +33 -0
  18. package/design/sdk/foundations/colors/colors.css +1 -1
  19. package/design/sdk/foundations/colors/faces.css +57 -0
  20. package/design/sdk/ready.json +2 -65
  21. package/fesm2022/ethlete-components.mjs +42 -11
  22. package/fesm2022/ethlete-components.mjs.map +1 -1
  23. package/package.json +1 -1
  24. package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +4 -2
  25. package/src/lib/forms/form-field/form-field.component.css +1 -0
  26. package/types/ethlete-components.d.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/components",
3
- "version": "1.0.0-next.97",
3
+ "version": "1.0.0-next.99",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ethlete-io/ethdk",
@@ -195,7 +195,7 @@
195
195
  transition: color 150ms ease;
196
196
  }
197
197
 
198
- &:not([data-label-floated]) {
198
+ &[data-has-label]:not([data-label-floated]) {
199
199
  .et-form-field-control-slot :is(input, textarea)::placeholder,
200
200
  :is(.et-select-value, .et-cascader-value)[data-placeholder] {
201
201
  color: transparent;
@@ -252,7 +252,9 @@
252
252
  }
253
253
 
254
254
  .et-form-field-control-slot {
255
- font-size: calc(var(--et-form-field-control-font-size) * 0.96);
255
+ font-size: calc(
256
+ var(--et-form-field-control-font-size) * var(--et-form-field-floating-inside-control-font-scale, 0.96)
257
+ );
256
258
  }
257
259
  }
258
260
 
@@ -1,6 +1,7 @@
1
1
  @layer components.sdk {
2
2
  et-form-field:where([data-variant='ghost']) {
3
3
  --et-form-field-control-border-color: transparent;
4
+ --et-form-field-control-border-color-hover: transparent;
4
5
  --et-form-field-value-color: var(--et-surface-color-muted-solid, currentColor);
5
6
  --et-form-field-value-color-active: var(--et-surface-color-solid, currentColor);
6
7
  }
@@ -5452,6 +5452,7 @@ export declare class ScrollableDirective {
5452
5452
  scrollableChildren: Signal<HTMLElement[]>;
5453
5453
  private activeChildren;
5454
5454
  private initialActiveChildScrollPosition;
5455
+ private hasUserTakenOverScroll;
5455
5456
  containerScrollState: Signal<import("@ethlete/core").ElementScrollState>;
5456
5457
  private containerScrolls;
5457
5458
  isAtStart: Signal<boolean>;
@@ -5486,6 +5487,9 @@ export declare class ScrollableDirective {
5486
5487
  scrollToEndDirection(): void;
5487
5488
  getActiveChildren(): Signal<ScrollableActiveChildRef[]>;
5488
5489
  getScrollContainerRef(): Signal<ElementRef<HTMLElement> | null>;
5490
+ private measureActiveChildScrollPosition;
5491
+ private pinActiveChild;
5492
+ private keepActiveChildPinnedOnLayoutChange;
5489
5493
  private scrollToEdge;
5490
5494
  private isScrollOffsetAtEdge;
5491
5495
  static ɵfac: i0.ɵɵFactoryDeclaration<ScrollableDirective, never>;
@@ -37458,5 +37462,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
37458
37462
  export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
37459
37463
  export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
37460
37464
  /** The version of `@ethlete/components` this build was cut from. */
37461
- export declare const COMPONENTS_VERSION = "1.0.0-next.97";
37465
+ export declare const COMPONENTS_VERSION = "1.0.0-next.99";
37462
37466
  export { type AlertDialogComponentSlot, type AlertDialogSlot, type AlertDialogTemplateSlot, type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketFinalAlignment, type BracketGradient, type BracketGradientStop, type BracketGridSection, type BracketLayoutSettings, BracketMap, type BracketMatch, type BracketMatchComponent, type BracketMatchFactor, type BracketMatchId, type BracketMatchInputs, type BracketMatchOutcomeSlotSource, type BracketMatchParticipant, type BracketMatchPosition, type BracketMatchRelation, type BracketMatchRelationNone, type BracketMatchRelationNothingToOne, type BracketMatchRelationOneToNothing, type BracketMatchRelationOneToOne, type BracketMatchRelationTwoToNothing, type BracketMatchRelationTwoToOne, type BracketMatchShortId, type BracketMatchSlot, type BracketMatchSource, type BracketMatchStatus, type BracketParticipant, type BracketParticipantMatch, type BracketPickMigration, type BracketPickMigrationOptions, type BracketPickSet, type BracketRect, type BracketRound, type BracketRoundHeaderComponent, type BracketRoundId, type BracketRoundMapWithSwissData, type BracketRoundMirrorType, type BracketRoundPosition, type BracketRoundRelation, type BracketRoundRelationNone, type BracketRoundRelationNothingToOne, type BracketRoundRelationOneToNothing, type BracketRoundRelationOneToOne, type BracketRoundRelationTwoToNothing, type BracketRoundRelationTwoToOne, type BracketRoundShortId, type BracketRoundSource, type BracketRoundSwissData, type BracketRoundSwissGroup, type BracketRoundSwissGroupId, type BracketRoundSwissGroupMap, type BracketRoundType, BracketRuntimeError, type BracketSectionKey, type BracketSectionTitleComponent, type BracketSeedSlotSource, type BracketSlotResolutionPolicy, type BracketSlotSource, type BracketSlotSourceKind, type BracketStandingRankSide, type BracketStandingRankSlotSource, type BracketSwissBucketSlotSource, type BracketSwissColors, type BracketSwissGroupColorType, type BracketWarning, COMMON_BRACKET_ROUND_TYPE, type CalendarBandPosition, type CalendarInterval, type CalendarPrecision, type CalendarSelectionFlags, type CalendarView, type CalendarWeekStartsOn, type CascaderCompareWith, type CascaderDataSource, type CascaderNode, type CommonBracketRoundType, type ComputedBracketGrid, type CreateBracketGridConfig, type CreateBracketOptions, type CreateGridAdapterOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, type DateRangeSide, type DateRangeSide as TimeRangeInputSide, type DateRangeValue, type DateRangeValue as DateTimeRangeValue, type DateRangeValue as TimeRangeValue, type DoubleEliminationBracketRoundType, type DropzoneCropConfig, type DropzoneCropCorner, type DropzoneCropRect, type DropzoneCropShape, type DurationFormatSpec, type DurationSegment, type DurationUnit, GROUP_BRACKET_ROUND_TYPE, type GridAdapter, type GridAdapterBreakpoints, type GridConfig, type GroupBracketRoundType, type MatchParticipantId, type MatchParticipantShortId, type MatchParticipantSide, type ParticipantMatchResult, type PlaceholderBracketShape, type RichTextEditorHeadingLevel, type RichTextEditorImageFailure, type RichTextEditorImageFailureReason, type RichTextEditorImageUpload, type RichTextEditorImageUploadContext, type RichTextEditorImageUploadFn, type RichTextEditorTokenChip, type RichTextEditorTokenCodec, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, type SchedulerAgendaDay, type SchedulerMonthDayCell, type SchedulerTimeGridAllDayEntry, type SchedulerTimeGridBlock, type SchedulerTimeGridDay, type SchedulerTimeGridSegment, type ScrollableActiveChildRef, type ScrollableButtonPosition, type ScrollableButtonsConfig, type ScrollableButtonsDefaults, type ScrollableChrome, type ScrollableChromeSlot, type ScrollableConfig, type ScrollableDirection, type ScrollableIntersectionChange, type ScrollableItemSize, type ScrollableLoadingTemplatePosition, type ScrollableLoadingTemplateRef, type ScrollableMaskVariant, type ScrollableNavigation, type ScrollableNavigationConfig, type ScrollableNavigationItem, type ScrollableResponsive, type ScrollableScrollMode, type ScrollableScrollOrigin, type ScrollableScrollState, type ScrollbarGeometry, type ScrollbarOrientation, type ScrollbarTarget, type SerializeOptions, type SingleEliminationBracketRoundType, type StandingPick, type StandingPickOutcome, type SwissBracketRoundType, TOURNAMENT_MODE, type TournamentMode, bracketSlot, createBracket, createPlaceholderBracketSource, injectRichTextEditorTools, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource };