@linzjs/lui 21.24.5-0 → 21.25.0

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.
@@ -95,10 +95,17 @@ select,
95
95
  textarea {
96
96
  font-style: normal;
97
97
  font-size: 100%; // 1
98
- line-height: 1.15; // 1
99
98
  margin: 0; // 2
100
99
  }
101
100
 
101
+ button,
102
+ figure,
103
+ input,
104
+ optgroup,
105
+ textarea {
106
+ line-height: 1.15; // 1
107
+ }
108
+
102
109
  // ============
103
110
  // Show the overflow in IE.
104
111
  // 1. Show the overflow in Edge.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "21.24.5-0",
2
+ "version": "21.25.0",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",
@@ -1,9 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { Splitter } from '../Splitter';
3
- import './RangeAsPx.scss';
4
- declare type SplitterProps = ComponentProps<typeof Splitter>;
5
- declare type PixelProps = SplitterProps & {
6
- unit?: '%' | 'px';
7
- };
8
- export declare const RangeAsPx: ({ unit, ...rest }: PixelProps) => JSX.Element;
9
- export {};
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- declare type SectionProps = JSX.IntrinsicElements['section'];
3
- export declare const HorizontalSection: (props: SectionProps) => JSX.Element;
4
- export declare const VerticalSection: (props: SectionProps) => JSX.Element;
5
- export {};
@@ -1,18 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { Splitter } from '../Splitter';
3
- declare type Props = Pick<ComponentProps<typeof Splitter>, 'min' | 'max'>;
4
- declare type Result = 'keep-secondary' | 'keep-primary' | 'keep-both';
5
- /**
6
- * Given boundaries passed as prop, it defines how the grid column/row template will be arranged.
7
- * and whether the separator will be positioned using right or left absolute values (top or bottom for horizontal).
8
- * It will use a data- attribute to store this prop derived information for later processing.
9
- */
10
- export declare const setDataBoundary: (props: Props) => {
11
- "data-boundary": Result;
12
- };
13
- /**
14
- * Util to get what grid arrangement needs to be used to avoid jumps/flashes.
15
- * The return value is derived from the Splitter props, and stored in a data- attribute.
16
- */
17
- export declare const getDataBoundary: (separator: Element) => Result | undefined;
18
- export {};
@@ -1,14 +0,0 @@
1
- /**
2
- * It will calculate the best grid arrangement, based on the min/max props passed to the Splitter.
3
- * All grid options work. The preference `1fr XXpx` over `(width - XXpx) 1fr` depends on the type of boundary
4
- * to avoid calculation of position when the window is being resized while trying to retain the collapsed state
5
- * on a min/max value fixed in pixels (e.g. 200px). Such calculation adds unnecessary lagging on the separator
6
- * to catch up. This function aims to avoid such lagging during resizing.
7
- * primary relates to top/left
8
- * secondary relates to right/bottom
9
- */
10
- export declare const getGridTemplate: (separator: HTMLDivElement) => {
11
- grid: string;
12
- primary: string;
13
- secondary: string;
14
- };
@@ -1,5 +0,0 @@
1
- import { RefObject } from 'react';
2
- export declare const transition: (separator: RefObject<HTMLDivElement>) => {
3
- stop: () => void;
4
- resume: () => void;
5
- };
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- declare type Boundary = {
3
- min?: number | `${number}px`;
4
- max?: number | `${number}px`;
5
- };
6
- /**
7
- * Maps min and max values if they are provided in 'XXXpx' format.
8
- */
9
- export declare const useBoundary: (separator: React.RefObject<HTMLDivElement>, boundaries: Boundary) => {
10
- min: number;
11
- max: number;
12
- };
13
- export {};