Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs #16

Closed
wants to merge 218 commits into from
Closed

Docs #16

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
218 commits
Select commit Hold shift + click to select a range
fad9172
very fundamental stuffs
KrLite Oct 25, 2024
6eba219
toggle & value adjuster
KrLite Oct 25, 2024
344a93f
text field
KrLite Oct 25, 2024
56bb673
Text field & slider picker
KrLite Oct 25, 2024
1ad0588
Merge pull request #1 from Cement-Labs/dev/normalize
KrLite Oct 25, 2024
c6bd1a0
Remove padding in LuminareInfoView
KrLite Oct 25, 2024
512c6f9
Refine LuminareInfoView
KrLite Oct 26, 2024
15d2fbe
Lists & Sections - #1
KrLite Oct 26, 2024
299652b
Lists & Sections - #2
KrLite Oct 26, 2024
91ab4a2
Update LuminareList.swift
KrLite Oct 26, 2024
1b66c85
Picker
KrLite Oct 26, 2024
efbfd94
Color picker
KrLite Oct 26, 2024
8bf1ec8
Compact picker - #1
KrLite Oct 26, 2024
421b1f2
Compact picker - #2
KrLite Oct 26, 2024
fd41359
Compact picker - #3
KrLite Oct 26, 2024
a16c26a
Compact picker - #4
KrLite Oct 26, 2024
a862ace
Partly solves compact picker
KrLite Oct 26, 2024
c9670cb
Update LuminareCompactPicker.swift
KrLite Oct 26, 2024
5b91e68
Rename to compose
KrLite Oct 26, 2024
62209df
Merge pull request #2 from Cement-Labs/dev/features
KrLite Oct 26, 2024
5f80e27
Refine styles
KrLite Oct 26, 2024
c7e06d8
Normalize disabled environment values
KrLite Oct 26, 2024
0a687f9
Picker styles - #1
KrLite Oct 27, 2024
9597dd9
Looks good as segmented
KrLite Oct 27, 2024
484a9ba
Picker styles - #2 (animation)
KrLite Oct 27, 2024
717d26a
Picker styles - #3
KrLite Oct 27, 2024
a35e2c6
Refines
KrLite Oct 27, 2024
25f1353
Info rewrote
KrLite Oct 27, 2024
103591d
Backup
KrLite Oct 27, 2024
32f441f
Refined lists
KrLite Oct 27, 2024
f334552
Info view
KrLite Oct 27, 2024
f42b5fe
Normalize parameters
KrLite Oct 27, 2024
01cf181
Fix LuminareSection.swift
KrLite Oct 27, 2024
c7b9ee7
Popover overhaul
KrLite Oct 27, 2024
8d13ee5
Refine popover
KrLite Oct 27, 2024
6a47a32
Merge pull request #3 from Cement-Labs/dev/features
KrLite Oct 27, 2024
7d3741f
Environment values
KrLite Oct 28, 2024
d0dd249
Renaming
KrLite Oct 28, 2024
95272d5
Refine parameter names + previews
KrLite Oct 28, 2024
2804918
Merge branch 'dev/features'
KrLite Oct 28, 2024
e14e219
Updates
KrLite Oct 29, 2024
a5532c8
Backup
KrLite Oct 29, 2024
c69c593
Finalize popover!
KrLite Oct 29, 2024
f37abc7
Support long press alternate to force touch
KrLite Oct 30, 2024
0836b23
Merge branch 'dev/features'
KrLite Oct 30, 2024
9429e7f
Rename former custom popovers to popups
KrLite Oct 30, 2024
32bc608
Remove monospaces & new color picker actions
KrLite Oct 30, 2024
c78115e
Merge branch 'dev/features'
KrLite Oct 30, 2024
ba4e6e6
更新 ForceTouchView.swift
KrLite Oct 30, 2024
e314932
Modify LuminareCompose to public
Xinshao-air Oct 31, 2024
672ce30
Merge pull request #4 from Cement-Labs/main
KrLite Oct 31, 2024
37ea1c5
Merge pull request #5 from Cement-Labs/dev/features
KrLite Oct 31, 2024
ac9bf8c
Fix the possible "Index out of range" issue when removing an item fro…
Xinshao-air Oct 31, 2024
4443c6d
Fixes
KrLite Oct 31, 2024
82a2cf2
Merge branch 'dev/features' of https://github.com/Cement-Labs/Luminar…
KrLite Oct 31, 2024
726a936
Update color picker
KrLite Oct 31, 2024
c54cf38
Stepper
KrLite Oct 31, 2024
87ded8e
Stepper, visualized
KrLite Oct 31, 2024
2a099fa
Add `hasMask`
KrLite Oct 31, 2024
c5d2f51
更新 LuminareStepperView.swift
KrLite Oct 31, 2024
cf09997
更新 LuminareStepperView.swift
KrLite Oct 31, 2024
e7ee0a8
Stepper improvements
KrLite Nov 1, 2024
1216cc4
Update LuminareStepperView.swift
KrLite Nov 1, 2024
40e7a9b
Create InfiniteScrollView.swift
KrLite Nov 2, 2024
f3e0a52
Stepper works well
KrLite Nov 2, 2024
afafc3e
Backup
KrLite Nov 3, 2024
090b1b6
Edge cases for infinite scrolling
KrLite Nov 3, 2024
5b49783
Perfectly masked
KrLite Nov 3, 2024
8dfc735
Prominent!
KrLite Nov 3, 2024
1b28b3f
Sensory feedback stepped!
KrLite Nov 3, 2024
a58de44
Gesture midway
KrLite Nov 3, 2024
886ba80
Kick off
KrLite Nov 3, 2024
196a839
Stepper popover preview
KrLite Nov 3, 2024
1d7f39c
Backup
KrLite Nov 3, 2024
8cde422
Bad
KrLite Nov 3, 2024
53f31aa
Backup
KrLite Nov 3, 2024
c12e231
Backup
KrLite Nov 3, 2024
fa4839e
The finest one
KrLite Nov 3, 2024
4b36aa9
Merge branch 'dev/backup' into dev/features
KrLite Nov 3, 2024
7dae26f
The ultimate fix
KrLite Nov 3, 2024
c4de2c8
Color picker modal view with steppers
KrLite Nov 3, 2024
2a277e9
Update color stepper gradients
KrLite Nov 3, 2024
785cfe9
更新 ColorPickerModalView.swift
KrLite Nov 3, 2024
af0da79
Merge pull request #6 from Cement-Labs/dev/features
KrLite Nov 3, 2024
fb7bc3a
Merge branch 'MrKai77:main' into main
KrLite Nov 3, 2024
afb16d1
Merge pull request #7 from Cement-Labs/main
KrLite Nov 3, 2024
1ac9ed2
更新 LuminareCompactPicker.swift
KrLite Nov 4, 2024
ebcf3cf
更新 EnvironmentValues.swift
KrLite Nov 4, 2024
0a9b61b
更新 LuminareList.swift
KrLite Nov 4, 2024
3b08237
更新 LuminarePicker.swift
KrLite Nov 4, 2024
3401c96
更新 Array+Extensions
KrLite Nov 4, 2024
a546cb4
Rename Array+Extensions to Array+Extensions.swift
KrLite Nov 4, 2024
add3c48
更新 Array+Extensions.swift
KrLite Nov 4, 2024
f88fcda
更新 LuminareList.swift
KrLite Nov 4, 2024
e70e807
更新 NSTableView+Extensions.swift
KrLite Nov 4, 2024
69ca7ef
更新 NSTableView+Extensions.swift
KrLite Nov 4, 2024
cef2b6b
更新 LuminareSection.swift
KrLite Nov 4, 2024
23a5abf
更新 LuminareCompactPicker.swift
KrLite Nov 4, 2024
dbd2354
更新 LuminareStepper.swift
KrLite Nov 4, 2024
16dc0ac
更新 LuminareTextField.swift
KrLite Nov 4, 2024
3dd43d6
更新 LuminarePopupView.swift
KrLite Nov 4, 2024
0dce15a
更新 View+Extensions.swift
KrLite Nov 4, 2024
92e58a8
更新 Color+Extensions.swift
KrLite Nov 4, 2024
5578443
更新 Color+Extensions.swift
KrLite Nov 4, 2024
c721b76
更新 LuminareBackgroundEffect.swift
KrLite Nov 4, 2024
f8dda71
更新 View+Extensions.swift
KrLite Nov 4, 2024
c40a921
更新 ScreenView.swift
KrLite Nov 4, 2024
a82a30f
更新 NSImage+Extensions.swift
KrLite Nov 4, 2024
faa30d8
更新 NSImage+Extensions.swift
KrLite Nov 4, 2024
b27eb4e
Rename Sources/Luminare/Utilities/ScreenView.swift to Sources/Luminar…
KrLite Nov 4, 2024
6ec01f7
Rename Sources/Luminare/Utilities/LuminareBackgroundEffect.swift to S…
KrLite Nov 4, 2024
f59e36e
Rename Sources/Luminare/Utilities/VisualEffectView.swift to Sources/L…
KrLite Nov 4, 2024
28c6b23
Rename LuminarePopupView.swift to LuminarePopup.swift
KrLite Nov 4, 2024
7c350ea
更新 LuminarePopover.swift
KrLite Nov 4, 2024
10babb6
更新 LuminareCompose.swift
KrLite Nov 4, 2024
c0b41b7
更新 LuminareSliderPickerCompose.swift
KrLite Nov 4, 2024
cd9247f
更新 LuminareValueAdjusterCompose.swift
KrLite Nov 4, 2024
1373df7
更新 Comparable+Extensions.swift
KrLite Nov 4, 2024
6dab562
更新 Comparable+Extensions.swift
KrLite Nov 4, 2024
fceae30
更新 Comparable+Extensions.swift
KrLite Nov 4, 2024
122563a
更新 ColorHueSliderView.swift
KrLite Nov 4, 2024
59d9d25
更新 ColorPickerModalView.swift
KrLite Nov 4, 2024
73732a8
更新 ColorSaturationBrightnessView.swift
KrLite Nov 4, 2024
ce94e7b
更新 RGBInputField.swift
KrLite Nov 4, 2024
1f87bd9
更新 LuminareColorPicker.swift
KrLite Nov 4, 2024
be4836a
更新 DividedVStack.swift
KrLite Nov 4, 2024
48024f4
更新 LuminareCompactPicker.swift
KrLite Nov 4, 2024
15984f3
更新 ForceTouch.swift
KrLite Nov 4, 2024
e7e0138
更新 ForceTouch.swift
KrLite Nov 4, 2024
a5e933a
更新 InfiniteScrollView.swift
KrLite Nov 4, 2024
13f6980
更新 LuminarePopup.swift
KrLite Nov 4, 2024
1254859
更新 LuminareButtonStyle.swift
KrLite Nov 4, 2024
fe200d3
更新 LuminareDividedStack.swift
KrLite Nov 4, 2024
dc0bede
更新 LuminarePane.swift
KrLite Nov 4, 2024
b3d4ca3
更新 LuminareView.swift
KrLite Nov 4, 2024
3d1bcb7
更新 LuminareSidebarSection.swift
KrLite Nov 4, 2024
1b08ab0
更新 LuminareSidebarTab.swift
KrLite Nov 4, 2024
c6937c4
capitalize RGB/HSB
KrLite Nov 4, 2024
aaacc33
Rename assets to Assets
KrLite Nov 4, 2024
1d96764
Capture previews screenshots + migrate to SwiftTesting
KrLite Nov 4, 2024
e546a30
Update previews screenshots
KrLite Nov 4, 2024
8c92a52
Docs & assets
KrLite Nov 4, 2024
40117b4
DocC: Main Window
KrLite Nov 4, 2024
f9a8bb9
DocC: Refine Main Window
KrLite Nov 4, 2024
ecbcbf7
Update
KrLite Nov 5, 2024
126199b
Update sidebar
KrLite Nov 5, 2024
3c0d1a2
DocC: more documentations...
KrLite Nov 5, 2024
9a25130
Update default popover edge to top
KrLite Nov 5, 2024
594a59d
Use values as ids in picker
KrLite Nov 5, 2024
1bd4182
Remove extension for String
KrLite Nov 5, 2024
b9b18d2
Fix paddings
KrLite Nov 6, 2024
86a65ee
Fix paddings
KrLite Nov 6, 2024
facc0ff
Fix image postfixes
KrLite Nov 7, 2024
a1e9296
Add swiftlint and fix
KrLite Nov 7, 2024
bcb8483
Merge branch 'docs' of https://github.com/Cement-Labs/Luminare into docs
KrLite Nov 7, 2024
58f29bb
Completely eliminate linter complains!
KrLite Nov 7, 2024
c0840cf
Compact variable declerations
KrLite Nov 7, 2024
e09f04c
Update LuminareButtonStyle+Previews.swift
KrLite Nov 7, 2024
5356e45
DocC: LuminareColorPicker, StringFormatStyle, StringFormatStyle.HexSt…
MrKai77 Nov 6, 2024
6b7cfcc
🔀 Merge branch `main` into `docs`
MrKai77 Nov 7, 2024
0dc3e4d
Extract new button style + use original picker
KrLite Nov 8, 2024
440bed8
Stablize stepper + normalize screenshots
KrLite Nov 8, 2024
1622bd0
Rewritten color picker
KrLite Nov 8, 2024
bbb4f64
Fix hue slider
KrLite Nov 8, 2024
9510da2
Update docs, rearrange folders
KrLite Nov 8, 2024
85e1e67
LuminareTextField
KrLite Nov 8, 2024
017d1c9
Fix some hoverables
KrLite Nov 8, 2024
8a0a52c
LuminareStepper
KrLite Nov 8, 2024
213b3ec
LuminareSection & LuminareStepper
KrLite Nov 8, 2024
e1bb695
Update LuminareCompactPicker.swift
KrLite Nov 9, 2024
a0517a8
LuminareCompactPicker
KrLite Nov 9, 2024
0f1c76e
LuminareSection initializers
KrLite Nov 9, 2024
150b107
LuminarePicker
KrLite Nov 9, 2024
19108be
LuminareList
KrLite Nov 9, 2024
538b07d
Unify LuminareCompactPicker segmented background
KrLite Nov 9, 2024
2f6c529
Improvements on LuminareCompactPicker
KrLite Nov 9, 2024
ee657de
Add LuminareButtonStyle previews
KrLite Nov 9, 2024
03f368e
LuminareButtonStyle
KrLite Nov 10, 2024
84f8c76
Remove LuminareList built-in swipe actions
KrLite Nov 10, 2024
d296865
Update LuminareList.md
KrLite Nov 10, 2024
1701f63
LuminareColorPicker
KrLite Nov 10, 2024
ac03c0d
value adjuster source
KrLite Nov 10, 2024
e3c7c6c
eliminate todos
KrLite Nov 10, 2024
27c5d1a
Fix picker button tint
KrLite Nov 10, 2024
34affd8
Add tint for picker data
KrLite Nov 10, 2024
5eb7971
Update LuminareSelectionData
KrLite Nov 10, 2024
330368e
Docs
KrLite Nov 10, 2024
a1f8659
Normalize tint usages
KrLite Nov 10, 2024
6a823c4
Fix force touch popover
KrLite Nov 10, 2024
81e22d2
Fix threshold handling
KrLite Nov 10, 2024
9e3fbad
Rename to `buttonCornerRadius`
KrLite Nov 10, 2024
f9d940b
Use bindings in InfiniteScrollView
KrLite Nov 12, 2024
5ad5b41
Backup
KrLite Nov 12, 2024
41686d2
Revert "Backup"
KrLite Nov 12, 2024
d57256a
Enhance InfiniteScrollView to support dragging
KrLite Nov 14, 2024
6e728ce
DocC: Scroll views
KrLite Nov 14, 2024
2af6759
DocC: filling up
KrLite Nov 15, 2024
223c00d
DocC: Auxiliary views
KrLite Nov 15, 2024
1d3e01c
DocC: LuminareSliderPickerCompose
KrLite Nov 15, 2024
248dabf
Renaming variables
KrLite Nov 15, 2024
329e7d8
Generalize control size for compose views
KrLite Nov 15, 2024
2e47617
Backup
KrLite Nov 15, 2024
10637cb
Add overflow to LuminareSidebar
KrLite Nov 15, 2024
03f1899
Fill sidebar background
KrLite Nov 15, 2024
d6183bf
Allow optional string in text field
KrLite Nov 24, 2024
cb976c5
Add public initializer for StringFormatStyle
KrLite Nov 24, 2024
60349a1
Add onRoundedValueChange
KrLite Nov 24, 2024
a11a2d9
Forgot this
KrLite Nov 24, 2024
77aac30
Fix onRoundedValueChange
KrLite Nov 24, 2024
495fbd4
Fix onRoundedValueChange triggering
KrLite Nov 24, 2024
e91dfa6
Update LuminareStepper.swift
KrLite Nov 24, 2024
124ebe3
Fix force touch glitches over threshold
KrLite Nov 24, 2024
a3fff4a
Support undo in LuminareTextField
KrLite Nov 24, 2024
b9c4a54
Unnecessary undo manager...
KrLite Nov 24, 2024
2de9628
This should avoid transitive SwiftLint
KrLite Nov 24, 2024
a9ae757
Can this finally fix SwiftLint issues?
KrLite Nov 24, 2024
dd7d9b7
Fine. Remove SwiftLint.
KrLite Nov 24, 2024
4d0fdf5
Format with SwiftFormat
KrLite Nov 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
disabled_rules:
- nesting
- file_length
- function_body_length
- type_body_length
- large_tuple
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
24 changes: 24 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"originHash" : "ed31ca32dc2eaeeeac6cd0423ed78fa0a352bf7bc51e7550faa3ce07ce4c0d40",
"pins" : [
{
"identity" : "swift-docc-plugin",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-docc-plugin",
"state" : {
"revision" : "85e4bb4e1cd62cec64a4b8e769dcefdf0c5b9d64",
"version" : "1.4.3"
}
},
{
"identity" : "swift-docc-symbolkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-docc-symbolkit",
"state" : {
"revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",
"version" : "1.0.0"
}
}
],
"version" : 3
}
11 changes: 7 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.
// the swift-tools-version declares the minimum version of Swift required to build this package

import PackageDescription

Expand All @@ -9,15 +9,18 @@ let package = Package(
.macOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
// products define the executables and libraries a package produces, making them visible to other packages
.library(
name: "Luminare",
targets: ["Luminare"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
// targets are the basic building blocks of a package, defining a module or a test suite
// targets can depend on other targets in this package and products from dependencies
.target(
name: "Luminare"
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import SwiftUI

/// A background effect that matches ``Luminare``.
public struct LuminareBackgroundEffect: ViewModifier {
public func body(content: Content) -> some View {
content
Expand All @@ -17,9 +18,3 @@ public struct LuminareBackgroundEffect: ViewModifier {
}
}
}

public extension View {
func luminareBackground() -> some View {
modifier(LuminareBackgroundEffect())
}
}
Loading